From 95ef73ebc16ed2b1592e5602a8756bddb9b4759e Mon Sep 17 00:00:00 2001 From: "Michael J. Zoidl" Date: Fri, 30 Oct 2015 12:17:30 +0100 Subject: [PATCH] Update autoUpdater api docs The event `quitAndUpdate` event changed to `quitAndInstall` --- docs/api/auto-updater.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/auto-updater.md b/docs/api/auto-updater.md index 7649f0f10489..972f93ea5922 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.