Merge pull request #11925 from electron/squirrel-mac-cdn
Update to use Squirrel.Mac that supports CDN releases
This commit is contained in:
commit
67fa13d7cf
10 changed files with 138 additions and 36 deletions
|
@ -88,10 +88,13 @@ On Windows only `releaseName` is available.
|
|||
|
||||
The `autoUpdater` object has the following methods:
|
||||
|
||||
### `autoUpdater.setFeedURL(url[, requestHeaders])`
|
||||
### `autoUpdater.setFeedURL(options)`
|
||||
|
||||
* `url` String
|
||||
* `requestHeaders` Object (optional) _macOS_ - HTTP request headers.
|
||||
* `options` Object
|
||||
* `url` String
|
||||
* `headers` Object (optional) _macOS_ - HTTP request headers.
|
||||
* `serverType` String (optional) _macOS_ - Either `json` or `default`, see the [Squirrel.Mac][squirrel-mac]
|
||||
README for more information.
|
||||
|
||||
Sets the `url` and initialize the auto updater.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue