commit
c15e2e4d92
1 changed files with 7 additions and 3 deletions
|
@ -109,9 +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:** `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:** 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
|
||||
|
|
Loading…
Reference in a new issue