Use application-level events to control updates in the browser process

This commit is contained in:
Antonio Scandurra
2016-04-01 10:56:20 +02:00
parent 2b05995b1c
commit 158d019371
2 changed files with 2 additions and 5 deletions

View File

@@ -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')