]> khamidou — GitHub mirrors - electron.git/commitdiff
Update autoUpdater api docs
authorMichael J. Zoidl <me@michaelzoidl.com>
Fri, 30 Oct 2015 11:17:30 +0000 (12:17 +0100)
committerMichael J. Zoidl <me@michaelzoidl.com>
Fri, 30 Oct 2015 11:17:30 +0000 (12:17 +0100)
The event `quitAndUpdate` event changed to `quitAndInstall`

docs/api/auto-updater.md

index 7649f0f10489133bda88361114f35bf208ad7eb4..972f93ea5922068794b715fdb8234861708a3d9b 100644 (file)
@@ -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.