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 { try {
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 // Follow Electron's defaults, except for window dimensions which targets 1024x768 screen resolution.
windowOptions = {}; window_options = {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');