From 4933b6f90c985daff00144d0ecb2ba6656c27eb0 Mon Sep 17 00:00:00 2001 From: NeoPlays <80448387+NeoPlays@users.noreply.github.com> Date: Thu, 20 Oct 2022 16:17:52 +0200 Subject: [PATCH] fixed winsize on windows (#849) --- launcher/src/background.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/launcher/src/background.js b/launcher/src/background.js index fa1a5fea6..184063425 100644 --- a/launcher/src/background.js +++ b/launcher/src/background.js @@ -380,6 +380,12 @@ async function createWindow() { initwin['maxHeight'] = 609; initwin['maxWidth'] = 1044; } + if (process.platform === "win32"){ + initwin['minHeight'] = 650 + initwin['minWidth'] = 1100 + initwin['maxHeight'] = 650 + initwin['maxWidth'] = 1100 + } const win = new BrowserWindow(initwin); win.setMenuBarVisibility(false);