@@ -117,7 +117,9 @@ app.on('ready', function() {
|
|||||||
// follow Electron's defaults
|
// follow Electron's defaults
|
||||||
window_options = {};
|
window_options = {};
|
||||||
}
|
}
|
||||||
|
if (process.platform === 'linux') {
|
||||||
window_options.icon = path.resolve(__dirname, 'resources/appicon.png');
|
window_options.icon = path.resolve(__dirname, 'resources/appicon.png');
|
||||||
|
}
|
||||||
window_options.fullScreenable = true;
|
window_options.fullScreenable = true;
|
||||||
mainWindow = new BrowserWindow(window_options);
|
mainWindow = new BrowserWindow(window_options);
|
||||||
mainWindow.setFullScreenable(true); // fullscreenable option has no effect.
|
mainWindow.setFullScreenable(true); // fullscreenable option has no effect.
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 124 KiB |
Reference in New Issue
Block a user