From 457f09830c12a6ce5d64f12699b095cb7bb8aa0a Mon Sep 17 00:00:00 2001 From: Hichem Fantar Date: Sat, 16 Nov 2024 23:13:32 +0100 Subject: [PATCH] fix: comment out main window maximize to prevent automatic resizing --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index b870a28..2676396 100644 --- a/src/main.ts +++ b/src/main.ts @@ -53,7 +53,7 @@ const createWindow = () => { shell.openExternal(details.url); // Open URL in user's browser. return { action: "deny" }; // Prevent the app from opening the URL. }); - mainWindow.maximize(); + // mainWindow.maximize(); // and load the index.html of the app. if (MAIN_WINDOW_VITE_DEV_SERVER_URL) {