linux app icon

This commit is contained in:
Jan Prochazka 2021-01-07 12:32:01 +01:00
parent 9bc39d5851
commit 49950068a3

View File

@ -150,6 +150,9 @@ function createWindow() {
store.set('winBounds', mainWindow.getBounds());
});
mainWindow.loadURL(startUrl);
if (os.platform() == 'linux') {
mainWindow.setIcon(path.resolve(__dirname, '../icon.png'));
}
}
splashWindow = new BrowserWindow({