mirror of
https://github.com/atom/atom.git
synced 2026-02-14 16:45:14 -05:00
Add atom.update and atom.getUpdateStatus
This commit is contained in:
@@ -163,3 +163,9 @@ _.extend atom,
|
||||
_.valueForKeyPath(windowState, keyPath)
|
||||
else
|
||||
windowState
|
||||
|
||||
update: ->
|
||||
@sendMessageToBrowserProcess('update')
|
||||
|
||||
getUpdateStatus: (callback) ->
|
||||
@sendMessageToBrowserProcess('getUpdateStatus', [], callback)
|
||||
Reference in New Issue
Block a user