From fe62a1293e3565604a759ab6f57e675ba5315f7f Mon Sep 17 00:00:00 2001 From: Fabian Date: Tue, 5 Dec 2017 18:49:54 +0100 Subject: [PATCH] only maximize in dev mode --- app/src/main/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/index.js b/app/src/main/index.js index dc94e01515..f562021e76 100644 --- a/app/src/main/index.js +++ b/app/src/main/index.js @@ -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) {