mirror of
https://github.com/WowUp/WowUp.git
synced 2026-05-19 12:04:50 -04:00
Use existing window object
This commit is contained in:
@@ -71,6 +71,6 @@ export function initializeAppUpdateIpcHandlers(win: BrowserWindow) {
|
||||
|
||||
ipcMain.handle(APP_UPDATE_CHECK_FOR_UPDATE, async () => {
|
||||
log.info(APP_UPDATE_CHECK_FOR_UPDATE);
|
||||
return await checkForUpdates();
|
||||
return await checkForUpdates(win);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user