Browse Source

Clearer wording

Cheng Zhao 7 years ago
parent
commit
4dee778212
1 changed files with 6 additions and 4 deletions
  1. 6 4
      docs/api/auto-updater.md

+ 6 - 4
docs/api/auto-updater.md

@@ -109,11 +109,13 @@ using this API.
 Restarts the app and installs the update after it has been downloaded. It
 should only be called after `update-downloaded` has been emitted.
 
-**Note 1:** `autoUpdater.quitAndInstall()` will close all application windows
-first and only emit `before-quit` event on `app` after that. This is different
-from the normal quit event sequence.
+Under the hood calling `autoUpdater.quitAndInstall()` will close all application
+windows first, and automatically call `app.quit()` after all windows have been
+closed.
 
-**Note 2:** If you don't call `autoUpdater.quitAndInstall()` after `update-downloaded` event has been emitted then you will get the updated app on the next start/run of your app.
+**Note** If the application is quit without calling this API after the
+`update-downloaded` event has been emitted, the application will still be
+replaced by the updated one on the next run.
 
 [squirrel-mac]: https://github.com/Squirrel/Squirrel.Mac
 [server-support]: https://github.com/Squirrel/Squirrel.Mac#server-support