Update main.js

This commit is contained in:
Jason Blais
2017-01-18 10:50:12 -05:00
committed by GitHub
parent 3d09b6ae01
commit c6d554535d

View File

@@ -442,7 +442,7 @@ app.on('ready', () => {
windowOptions = getValidWindowPosition(JSON.parse(fs.readFileSync(boundsInfoPath, 'utf-8')));
} catch (e) {
// 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') {
windowOptions.icon = path.resolve(assetsDir, 'appicon.png');