From 2c1a14cfced63914e37dc3afa86a5d58975a5bec Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Wed, 13 Oct 2021 18:17:36 +0200 Subject: [PATCH] Fix resize icon appear even if it's impossible --- src/server/main.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/server/main.js b/src/server/main.js index eec3520..2c53ade 100644 --- a/src/server/main.js +++ b/src/server/main.js @@ -17,11 +17,8 @@ let win = null function createWindow () { win = new BrowserWindow({ width: 1000, - minWidth: 1000, - maxWidth: 1000, height: 600, - minHeight: 600, - maxHeight: 600, + resizable: false, icon: iconPath, webPreferences: { nodeIntegration: true,