Add applicationDelegate.getAutoUpdateManagerErrorMessage()

Sometimes, the error event gets emitted before the renderer process has
the chance to subscribe. Therefore, we expose an
`autoUpdateManager.getErrorMessage()` in the browser process, so that we
don’t lose that information.
This commit is contained in:
Antonio Scandurra
2016-03-31 10:13:41 +02:00
parent e8e2370ed1
commit 4d4ee6bf3b
5 changed files with 19 additions and 7 deletions

View File

@@ -252,3 +252,6 @@ class ApplicationDelegate
getAutoUpdateManagerState: ->
ipcRenderer.sendSync('get-auto-update-manager-state')
getAutoUpdateManagerErrorMessage: ->
ipcRenderer.sendSync('get-auto-update-manager-error')