From 45a05b80a0e714d936bb60ec249cc667cf899b91 Mon Sep 17 00:00:00 2001 From: byrongamatos Date: Mon, 13 Jul 2026 14:26:21 +0200 Subject: [PATCH] Fix fullscreen launch with maximized restore --- src/main/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.ts b/src/main/main.ts index 5ae9e7a..6c8a4cf 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -484,7 +484,7 @@ function createWindow(port: number): void { backgroundColor: '#0f172a', // slate-900 to match Slopsmith UI webPreferences: rendererWebPreferences, }); - if (restored.maximized) mainWindow.maximize(); + if (restored.maximized && !startFullscreen) mainWindow.maximize(); // Persist geometry on close. getNormalBounds() so a maximized session // saves the underlying windowed size, restored + re-maximized next launch.