Don't check for updates in the MAS build
// FREEBIE
This commit is contained in:
parent
76cd650577
commit
b66a887184
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -148,7 +148,7 @@ function createWindow () {
|
|||
// Some APIs can only be used after this event occurs.
|
||||
app.on('ready', function() {
|
||||
console.log('app ready');
|
||||
if (!config.get('disableAutoUpdate')) {
|
||||
if (!process.mas && !config.get('disableAutoUpdate')) {
|
||||
autoUpdater.addListener('update-downloaded', function() {
|
||||
autoUpdater.quitAndInstall()
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue