docs: auto update downloading multiple times (#27888)

This commit is contained in:
Konstantin Pschera 2021-03-08 02:03:34 +01:00 committed by GitHub
parent 9ccb8f5910
commit 5b50c88508
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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