From: Michael J. Zoidl Date: Fri, 30 Oct 2015 11:17:30 +0000 (+0100) Subject: Update autoUpdater api docs X-Git-Tag: v0.34.3~29^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=95ef73ebc16ed2b1592e5602a8756bddb9b4759e;p=electron.git Update autoUpdater api docs The event `quitAndUpdate` event changed to `quitAndInstall` --- diff --git a/docs/api/auto-updater.md b/docs/api/auto-updater.md index 7649f0f1..972f93ea 100644 --- a/docs/api/auto-updater.md +++ b/docs/api/auto-updater.md @@ -82,7 +82,7 @@ once it is set. Asks the server whether there is an update. You must call `setFeedUrl` before using this API. -### `autoUpdater.quitAndUpdate()` +### `autoUpdater.quitAndInstall()` Restarts the app and install the update after it has been downloaded. It should only be called after `update-downloaded` has been emitted.