mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
docs: auto update downloading multiple times (#27888)
This commit is contained in:
committed by
GitHub
parent
9ccb8f5910
commit
5b50c88508
@@ -118,6 +118,9 @@ Returns `String` - The current update feed URL.
|
||||
Asks the server whether there is an update. You must call `setFeedURL` before
|
||||
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()`
|
||||
|
||||
Restarts the app and installs the update after it has been downloaded. It
|
||||
|
||||
Reference in New Issue
Block a user