зеркало из https://github.com/electron/electron.git
docs: auto update downloading multiple times (#27888)
This commit is contained in:
Родитель
9ccb8f5910
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче