mirror of
https://github.com/Eugeny/tabby.git
synced 2025-02-11 14:41:13 +08:00
Merge pull request #535 from Drachenkaetzchen/bugfix-534
Bugfix for issue #534: Catch any errors occurring during checkForUpda…
This commit is contained in:
commit
9e7721d2a9
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user