mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use application-level events to control updates in the browser process
This commit is contained in:
@@ -245,10 +245,10 @@ class ApplicationDelegate
|
||||
webFrame.setZoomLevelLimits(1, 1)
|
||||
|
||||
checkForUpdate: ->
|
||||
ipcRenderer.send('check-for-update')
|
||||
ipcRenderer.send('command', 'application:check-for-update')
|
||||
|
||||
restartAndInstallUpdate: ->
|
||||
ipcRenderer.send('install-update')
|
||||
ipcRenderer.send('command', 'application:install-update')
|
||||
|
||||
getAutoUpdateManagerState: ->
|
||||
ipcRenderer.sendSync('get-auto-update-manager-state')
|
||||
|
||||
Reference in New Issue
Block a user