diff --git a/src/main/index.ts b/src/main/index.ts index cad223574305..ea3c53f9b9fd 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -115,7 +115,7 @@ app.on("activate", (event, hasVisibleWindows) => { logger.info("APP:ACTIVATE", { hasVisibleWindows }); if (!hasVisibleWindows) { - windowManager.initMainWindow(); + windowManager?.initMainWindow(false); } });