Skip to content

Commit

Permalink
fix: installer not running properly on first try
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Sep 2, 2021
1 parent 566b7c7 commit 560daf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/listeners.ts
Expand Up @@ -133,11 +133,11 @@ export function setupListeners() {
});

ipc_installUpdate.main!.handle(async () => {
autoUpdater.quitAndInstall(false, true);
autoUpdater.quitAndInstall(true, true);
return { success: true };
});
ipc_checkForUpdate.main!.handle(async () => {
autoUpdater.checkForUpdatesAndNotify().catch(log.warn);
autoUpdater.checkForUpdates().catch(log.warn);
return { success: true };
});

Expand Down

0 comments on commit 560daf0

Please sign in to comment.