Add optional requestHeaders argument to autoUpdater.setFeedURL + allow calling mulitple times
This commit is contained in:
parent
c68ca16148
commit
c89d8b19b6
10 changed files with 70 additions and 33 deletions
|
@ -94,12 +94,12 @@ On Windows only `releaseName` is available.
|
|||
|
||||
The `autoUpdater` object has the following methods:
|
||||
|
||||
### `autoUpdater.setFeedURL(url)`
|
||||
### `autoUpdater.setFeedURL(url[, requestHeaders])`
|
||||
|
||||
* `url` String
|
||||
* `requestHeaders` Object - HTTP request headers (_OS X_)
|
||||
|
||||
Sets the `url` and initialize the auto updater. The `url` cannot be changed
|
||||
once it is set.
|
||||
Sets the `url` and initialize the auto updater.
|
||||
|
||||
### `autoUpdater.checkForUpdates()`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue