Skip to content

Commit

Permalink
Maximize window at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
bellingard committed May 8, 2019
1 parent 38cd8b2 commit 50a12a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ protocol.registerStandardSchemes(['app'], { secure: true })
function createWindow () {
// Create the browser window.
win = new BrowserWindow({ width: 800, height: 600 })
win.maximize()

if (process.env.WEBPACK_DEV_SERVER_URL) {
// Load the url of the dev server if in development mode
Expand Down

0 comments on commit 50a12a6

Please sign in to comment.