Clarify docs on a before-quit behavior edge case

See #7875
This commit is contained in:
Márton Salomváry 2016-11-16 10:35:02 +01:00
parent 9624bc1403
commit 98e18a62e2
2 changed files with 8 additions and 0 deletions

View file

@ -121,6 +121,10 @@ 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.
[squirrel-mac]: https://github.com/Squirrel/Squirrel.Mac
[server-support]: https://github.com/Squirrel/Squirrel.Mac#server-support
[squirrel-windows]: https://github.com/Squirrel/Squirrel.Windows