Updated auto-updater.md
Missing documentation on the issue https://github.com/electron/electron/issues/10903
This commit is contained in:
parent
90582dfa4f
commit
8953042ee3
1 changed files with 3 additions and 1 deletions
|
@ -109,10 +109,12 @@ 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
|
||||
**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.
|
||||
|
||||
**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.
|
||||
|
||||
[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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue