mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Use the renderer AutoUpdateManager in atom-environment’s update events
This commit is contained in:
@@ -893,7 +893,7 @@ class AtomEnvironment extends Model
|
||||
|
||||
listenForUpdates: ->
|
||||
# listen for updates available locally (that have been successfully downloaded)
|
||||
@disposables.add(@applicationDelegate.onDidCompleteDownloadingUpdate(@updateAvailable.bind(this)))
|
||||
@disposables.add(@autoUpdater.onDidCompleteDownload(@updateAvailable.bind(this)))
|
||||
|
||||
setBodyPlatformClass: ->
|
||||
@document.body.classList.add("platform-#{process.platform}")
|
||||
|
||||
Reference in New Issue
Block a user