chore: upgrade electron (#2577)

This commit is contained in:
Aman Harwara
2023-10-12 13:24:53 +05:30
committed by GitHub
parent c5f4791b27
commit 21091c7f35
20 changed files with 112 additions and 69 deletions

View File

@@ -174,7 +174,7 @@ export async function checkForUpdate(appState: AppState, state: UpdateState, use
state.setCheckingForUpdate(true)
try {
const result = await autoUpdater.checkForUpdates()
const result = userTriggered ? await autoUpdater.checkForUpdatesAndNotify() : await autoUpdater.checkForUpdates()
if (!result) {
return