mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Only released versions should check for updates
Fixes atom/release-notes#6
This commit is contained in:
@@ -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', =>
|
||||
|
||||
Reference in New Issue
Block a user