mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Fix usage of the onDidCompleteDownload() method
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user