Check for updates when feed URL is set

This commit is contained in:
Kevin Sawicki
2014-11-13 10:48:26 -08:00
parent 9dc3f2c909
commit c64895a621

View File

@@ -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()