Update default window dimensions to 1000x700

This commit is contained in:
Jason Blais
2017-01-18 09:28:22 -05:00
committed by GitHub
parent 7948514da9
commit 3d09b6ae01

View File

@@ -441,8 +441,8 @@ app.on('ready', () => {
try {
windowOptions = getValidWindowPosition(JSON.parse(fs.readFileSync(boundsInfoPath, 'utf-8')));
} catch (e) {
// follow Electron's defaults
windowOptions = {};
// Follow Electron's defaults, except for window dimensions which targets 1024x768 screen resolution.
window_options = {width: 1000, height: 700};
}
if (process.platform === 'linux') {
windowOptions.icon = path.resolve(assetsDir, 'appicon.png');