Add atom.update and atom.getUpdateStatus

This commit is contained in:
Corey Johnson
2013-02-14 15:47:08 -08:00
parent 16d8c52624
commit e7a8e4e3c4
7 changed files with 52 additions and 12 deletions

View File

@@ -163,3 +163,9 @@ _.extend atom,
_.valueForKeyPath(windowState, keyPath)
else
windowState
update: ->
@sendMessageToBrowserProcess('update')
getUpdateStatus: (callback) ->
@sendMessageToBrowserProcess('getUpdateStatus', [], callback)