From 4f1615ecb3b849b61d030ee816cb790172f5371a Mon Sep 17 00:00:00 2001 From: V Date: Thu, 18 Jan 2024 23:49:26 +0100 Subject: [PATCH] fix window flash when clicking notification --- src/main/ipc.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/ipc.ts b/src/main/ipc.ts index dc3dc6b..e0bf131 100644 --- a/src/main/ipc.ts +++ b/src/main/ipc.ts @@ -69,10 +69,8 @@ handle(IpcEvents.SHOW_ITEM_IN_FOLDER, (_, path) => { }); handle(IpcEvents.FOCUS, () => { - if (process.platform === "win32") mainWin.minimize(); // Windows is weird - - mainWin.restore(); mainWin.show(); + mainWin.setSkipTaskbar(false); }); handle(IpcEvents.CLOSE, (e, key?: string) => {