From ca2e420c2bddd1bd997a5046c7b99171bbdd8c01 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Sun, 22 Oct 2023 22:01:57 +0800 Subject: [PATCH] fix: make updater close button close updater Co-authored-by: Vendicated --- src/main/ipc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/ipc.ts b/src/main/ipc.ts index 4fc0775..564d7df 100644 --- a/src/main/ipc.ts +++ b/src/main/ipc.ts @@ -71,7 +71,7 @@ handle(IpcEvents.FOCUS, () => { }); handle(IpcEvents.CLOSE, e => { - mainWin.close(); + e.sender.close(); }); handle(IpcEvents.MINIMIZE, e => {