diff --git a/src/electron-main/window/main.ts b/src/electron-main/window/main.ts index 92b0940e..b6f8bea0 100644 --- a/src/electron-main/window/main.ts +++ b/src/electron-main/window/main.ts @@ -140,7 +140,7 @@ export async function initMainBrowserWindow(ctx: Context): Promise { + .once("ready-to-show", async () => { const boundsToRestore = await resolveBoundsToRestore(ctx, browserWindow.getBounds()); logger.verbose(JSON.stringify({boundsToRestore}));