Update main.js
This commit is contained in:
@@ -442,7 +442,7 @@ app.on('ready', () => {
|
|||||||
windowOptions = getValidWindowPosition(JSON.parse(fs.readFileSync(boundsInfoPath, 'utf-8')));
|
windowOptions = getValidWindowPosition(JSON.parse(fs.readFileSync(boundsInfoPath, 'utf-8')));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Follow Electron's defaults, except for window dimensions which targets 1024x768 screen resolution.
|
// Follow Electron's defaults, except for window dimensions which targets 1024x768 screen resolution.
|
||||||
window_options = {width: 1000, height: 700};
|
windowOptions = {width: 1000, height: 700};
|
||||||
}
|
}
|
||||||
if (process.platform === 'linux') {
|
if (process.platform === 'linux') {
|
||||||
windowOptions.icon = path.resolve(assetsDir, 'appicon.png');
|
windowOptions.icon = path.resolve(assetsDir, 'appicon.png');
|
||||||
|
Reference in New Issue
Block a user