Skip to content

Commit

Permalink
Set default width and height for browesr window
Browse files Browse the repository at this point in the history
  • Loading branch information
Rokt33r committed Jan 6, 2020
1 parent 8f51c69 commit d8bcd56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/index.js
Expand Up @@ -10,7 +10,9 @@ let mainWindow

function createMainWindow() {
const windowOptions = {
webPreferences: { nodeIntegration: true }
webPreferences: { nodeIntegration: true },
width: 1200,
height: 800
}
if (process.platform === 'darwin') {
windowOptions.titleBarStyle = 'hiddenInset'
Expand Down

0 comments on commit d8bcd56

Please sign in to comment.