disable updater on Linux

This commit is contained in:
antelle 2021-01-09 18:00:19 +01:00
parent a43a2e8ce2
commit feb44be9d0
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ const Launcher = {
return process.platform !== 'linux';
},
updaterEnabled() {
return this.electron().remote.process.argv.indexOf('--disable-updater') === -1;
return process.platform !== 'linux';
},
getMainWindow() {
return this.remoteApp().getMainWindow();