docs: auto update downloading multiple times (#27888)
This commit is contained in:
parent
9ccb8f5910
commit
5b50c88508
1 changed files with 3 additions and 0 deletions
|
@ -118,6 +118,9 @@ Returns `String` - The current update feed URL.
|
||||||
Asks the server whether there is an update. You must call `setFeedURL` before
|
Asks the server whether there is an update. You must call `setFeedURL` before
|
||||||
using this API.
|
using this API.
|
||||||
|
|
||||||
|
**Note:** If an update is available it will be downloaded automatically.
|
||||||
|
Calling `autoUpdater.checkForUpdates()` twice will download the update two times.
|
||||||
|
|
||||||
### `autoUpdater.quitAndInstall()`
|
### `autoUpdater.quitAndInstall()`
|
||||||
|
|
||||||
Restarts the app and installs the update after it has been downloaded. It
|
Restarts the app and installs the update after it has been downloaded. It
|
||||||
|
|
Loading…
Reference in a new issue