From 50a12a61503ef6d2666c0f802fda9d688098aa94 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Wed, 8 May 2019 21:52:12 +0200 Subject: [PATCH] Maximize window at startup --- src/background.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/background.ts b/src/background.ts index 1a5755c..90753e6 100644 --- a/src/background.ts +++ b/src/background.ts @@ -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