fix: return value from appUpdater.checkForUpdates in IPC handler

This commit is contained in:
kanweiwei 2025-05-26 09:57:44 +08:00 committed by 亢奋猫
parent 54ad3da14c
commit efd6d471de

View File

@ -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