Skip to content

Commit

Permalink
only maximize in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
faboweb authored Dec 5, 2017
1 parent 71f73e7 commit fe62a12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ function createWindow () {
titleBarStyle: 'hidden',
webPreferences: { webSecurity: false }
})
mainWindow.maximize()
if (DEV) {
mainWindow.maximize()
}

mainWindow.loadURL(winURL + '?node=' + nodeIP)
if (DEV || process.env.COSMOS_DEVTOOLS) {
Expand Down

0 comments on commit fe62a12

Please sign in to comment.