use keygen for updates

This commit is contained in:
Eugene Pankov
2022-10-01 13:04:55 +02:00
parent 37e058d7d8
commit 67914e7ee4
10 changed files with 379 additions and 363 deletions

View File

@@ -55,12 +55,6 @@ export class ElectronUpdaterService extends UpdaterService {
if (config.store.enableAutomaticUpdates && this.electronUpdaterAvailable && !process.env.TABBY_DEV) {
this.logger.debug('Checking for updates')
try {
this.autoUpdater.setFeedURL({
provider: 'github',
repo: 'tabby',
owner: 'eugeny',
channel: `latest-${process.arch}`,
})
this.autoUpdater.checkForUpdates()
} catch (e) {
this.electronUpdaterAvailable = false