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 5dc48580a0
commit 4726673508

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