revert updates back to Github

This commit is contained in:
Eugene Pankov
2022-06-02 20:15:30 +02:00
parent 7437aaffcf
commit 9ed6c138f8
9 changed files with 37 additions and 49 deletions

View File

@@ -54,15 +54,12 @@ export class ElectronUpdaterService extends UpdaterService {
config.ready$.toPromise().then(() => {
if (config.store.enableAutomaticUpdates && this.electronUpdaterAvailable && !process.env.TABBY_DEV) {
this.logger.debug('Checking for updates')
let arch = process.arch
if (process.platform === 'darwin' && process.arch === 'x64') {
arch = 'x86_64'
}
try {
this.autoUpdater.setFeedURL({
provider: 's3',
bucket: 'tabby-updates',
path: `updates-latest-${arch}`,
provider: 'github',
repo: 'tabby',
owner: 'eugeny',
channel: `latest-${process.arch}`,
})
this.autoUpdater.checkForUpdates()
} catch (e) {