1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-09-20 17:38:20 +03:00

disabled electron-updater on Linux

This commit is contained in:
Eugene Pankov 2020-01-02 12:22:56 +01:00
parent 5cb65dfd84
commit 86cd560089

View File

@ -27,6 +27,11 @@ export class UpdaterService {
) {
this.logger = log.create('updater')
if (process.platform === 'linux') {
this.electronUpdaterAvailable = false
return
}
this.autoUpdater = electron.remote.require('electron-updater').autoUpdater
this.autoUpdater.autoInstallOnAppQuit = !!config.store.enableAutomaticUpdates