mirror of
https://github.com/atom/atom.git
synced 2026-02-18 02:21:43 -05:00
Check for updates when feed URL is set
This commit is contained in:
@@ -10,6 +10,9 @@ class AutoUpdater
|
||||
_.extend @prototype, EventEmitter.prototype
|
||||
|
||||
setFeedUrl: (@updateUrl) ->
|
||||
if @updateUrl
|
||||
# Schedule an update when the feed URL is set
|
||||
process.nextTick => @checkForUpdates()
|
||||
|
||||
quitAndInstall: ->
|
||||
updateDotExe = @getUpdateExePath()
|
||||
|
||||
Reference in New Issue
Block a user