Only released versions should check for updates

Fixes atom/release-notes#6
This commit is contained in:
Corey Johnson
2014-03-06 10:51:42 -08:00
parent 272dd4a076
commit 1dd59204e9

View File

@@ -129,6 +129,8 @@ class AtomApplication
# Enable updates unless running from a local build of Atom.
setupAutoUpdater: ->
return if /\w{7}/.test(@version) # Only released versions should check for updates.
autoUpdater.setFeedUrl "https://atom.io/api/updates?version=#{@version}"
autoUpdater.on 'checking-for-update', =>