mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-08 06:19:05 +08:00
fix: return value from appUpdater.checkForUpdates in IPC handler
This commit is contained in:
parent
54ad3da14c
commit
efd6d471de
@ -200,7 +200,7 @@ export function registerIpc(mainWindow: BrowserWindow, app: Electron.App) {
|
|||||||
|
|
||||||
// check for update
|
// check for update
|
||||||
ipcMain.handle(IpcChannel.App_CheckForUpdate, async () => {
|
ipcMain.handle(IpcChannel.App_CheckForUpdate, async () => {
|
||||||
await appUpdater.checkForUpdates()
|
return await appUpdater.checkForUpdates()
|
||||||
})
|
})
|
||||||
|
|
||||||
// notification
|
// notification
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user