diff --git a/main.ts b/main.ts index 39682f24..a7e87462 100644 --- a/main.ts +++ b/main.ts @@ -419,6 +419,9 @@ try { if (mainWindow) { // Someone tried to run a second instance, we should focus the existing window. + // show() is needed to restore windows hidden to the notification area (tray). + mainWindow.show(); + if (mainWindow.isMinimized()) { mainWindow.restore(); }