MOBILE-2478 desktop: Fix linux icon and Windows favicon

main
Dani Palou 2018-07-20 12:28:38 +02:00
parent 0177b60b44
commit 72f9759159
3 changed files with 8 additions and 2 deletions

View File

@ -27,7 +27,7 @@ function createWindow() {
}
}
mainWindow = new BrowserWindow({
const options = {
width: width,
height: height,
minWidth: 400,
@ -35,7 +35,13 @@ function createWindow() {
textAreasAreResizable: false,
plugins: true,
show: false // Don't show it until it's ready to prevent showing a blank screen.
});
};
if (os.platform().indexOf('linux') === 0) {
options.icon = path.join(__dirname, '/../www/assets/icon/icon.png');
}
mainWindow = new BrowserWindow(options);
// And load the index.html of the app.
mainWindow.loadURL(url.format({

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB