From 47266735088f8d07246984b727aafffb7b46d093 Mon Sep 17 00:00:00 2001 From: kanweiwei Date: Mon, 26 May 2025 09:57:44 +0800 Subject: [PATCH] fix: return value from appUpdater.checkForUpdates in IPC handler --- 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 45e9d7b72d..842b952da3 100644 --- a/src/main/ipc.ts +++ b/src/main/ipc.ts @@ -200,7 +200,7 @@ export function registerIpc(mainWindow: BrowserWindow, app: Electron.App) { // check for update ipcMain.handle(IpcChannel.App_CheckForUpdate, async () => { - await appUpdater.checkForUpdates() + return await appUpdater.checkForUpdates() }) // notification