未验证 提交 9e7721d2 编写于 作者: E Eugene 提交者: GitHub

Merge pull request #535 from Drachenkaetzchen/bugfix-534

Bugfix for issue #534: Catch any errors occurring during checkForUpda…
......@@ -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> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册