Merge pull request #7158 from atom/wl-downloading-update

Enable "Downloading Update" context menu entry
This commit is contained in:
Kevin Sawicki
2015-06-08 15:36:31 -07:00

View File

@@ -51,12 +51,13 @@ class AutoUpdater
@emit 'update-not-available'
return
@emit 'update-available'
@installUpdate (error) =>
if error?
@emit 'update-not-available'
return
@emit 'update-available'
@emit 'update-downloaded', {}, update.releaseNotes, update.version, new Date(), 'https://atom.io', => @quitAndInstall()
module.exports = new AutoUpdater()