diff --git a/opennow-stable/src/main/window/mainWindow.ts b/opennow-stable/src/main/window/mainWindow.ts index a6eb722f..39b8eeb6 100644 --- a/opennow-stable/src/main/window/mainWindow.ts +++ b/opennow-stable/src/main/window/mainWindow.ts @@ -68,7 +68,7 @@ export async function createMainWindow( height: settings.windowHeight || 900, minWidth: 1024, minHeight: 680, - fullscreen: startFullscreen, + ...(startFullscreen ? { fullscreen: true } : {}), autoHideMenuBar: true, backgroundColor: "#0f172a", webPreferences: {