Merge pull request #535 from Drachenkaetzchen/bugfix-534

Bugfix for issue #534: Catch any errors occurring during checkForUpda…
This commit is contained in:
Eugene
2018-12-05 01:27:29 +01:00
committed by GitHub

View File

@@ -38,7 +38,12 @@ export class UpdaterService {
})
this.logger.debug('Checking for updates')
this.electron.autoUpdater.checkForUpdates()
try {
this.electron.autoUpdater.checkForUpdates()
} catch (e) {
this.logger.info('Squirrel updater unavailable, falling back')
}
}
async check (): Promise<boolean> {