diff --git a/src/atom-application.coffee b/src/atom-application.coffee index 520389efb..26e20478d 100644 --- a/src/atom-application.coffee +++ b/src/atom-application.coffee @@ -80,8 +80,10 @@ class AtomApplication app.commandLine.appendSwitch 'js-flags', '--harmony_collections' checkForUpdates: -> + console.log "DO NOT AUTO-UPDATE?", /\w{7}/.test(@version), @version return if /\w{7}/.test @version # Don't check for updates if version is a short sha + autoUpdater.setAutomaticallyDownloadsUpdates true autoUpdater.setAutomaticallyChecksForUpdates true autoUpdater.checkForUpdatesInBackground() diff --git a/src/main.coffee b/src/main.coffee index 69f1c8115..6da4b91de 100644 --- a/src/main.coffee +++ b/src/main.coffee @@ -52,7 +52,6 @@ setupCrashReporter = -> setupAutoUpdater = -> autoUpdater.setFeedUrl 'https://speakeasy.githubapp.com/apps/27/appcast.xml' - autoUpdater.setAutomaticallyDownloadsUpdates true parseCommandLine = -> version = app.getVersion()