Fix usage of the onDidCompleteDownload() method

This commit is contained in:
Ben Ogle
2016-02-25 16:33:51 -08:00
parent 418b1bd8f1
commit bc138f727e

View File

@@ -892,7 +892,7 @@ class AtomEnvironment extends Model
listenForUpdates: ->
# listen for updates available locally (that have been successfully downloaded)
@disposables.add(@autoUpdater.onDidCompleteDownload(@updateAvailable.bind(this)))
@disposables.add(@autoUpdater.onDidCompleteDownloadingUpdate(@updateAvailable.bind(this)))
setBodyPlatformClass: ->
@document.body.classList.add("platform-#{process.platform}")