mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add mechanism to get the AutoUpdateManager's state
This commit is contained in:
@@ -307,6 +307,9 @@ class AtomApplication
|
||||
ipcMain.on 'check-for-update', =>
|
||||
@autoUpdateManager.check()
|
||||
|
||||
ipcMain.on 'get-auto-update-manager-state', (event) =>
|
||||
event.returnValue = @autoUpdateManager.getState()
|
||||
|
||||
ipcMain.on 'execute-javascript-in-dev-tools', (event, code) ->
|
||||
event.sender.devToolsWebContents?.executeJavaScript(code)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user