From 961d1838c0aa20559fe6757761b678aaef729580 Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Sat, 25 May 2024 08:14:01 -0700 Subject: [PATCH] reopen window if exit to tray --- src/main/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/main.ts b/src/main/main.ts index b89ebf5b..5a6f793f 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -629,6 +629,8 @@ if (!singleInstance) { if (mainWindow) { if (mainWindow.isMinimized()) { mainWindow.restore(); + } else if (!mainWindow.isVisible()) { + mainWindow.show(); } mainWindow.focus();