mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Merge branch 'Download-with-more-headers' into 2022-02-02_Theile-base
This commit is contained in:
@@ -317,6 +317,12 @@ The URL from which to download the archive.
|
||||
The URL can be generated by a series of commands, for example when you need to parse an xml file for the latest URL. (See `bbedit`, `desktoppr`, or `omnigraffle` for examples.)
|
||||
Sometimes version differs between Intel and Apple Silicon versions. (See `brave`, `obsidian`, `omnidisksweeper`, or `notion`).
|
||||
|
||||
- `curlOptions`: (array, optional)
|
||||
Options to the `curl` command, needed for `curl` to be able to download the software.
|
||||
Usually used for adding extra headers that some servers need in order to serve the file.
|
||||
`curlOptions=( -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15" )`
|
||||
(See “mocha”-labels, for examples on labels, and `buildLabel.sh` for header-examples.)
|
||||
|
||||
- `appNewVersion` (optional, but recommended):
|
||||
Version of the downloaded software.
|
||||
If given, it will be compared to installed version, to see if download is different.
|
||||
|
||||
Reference in New Issue
Block a user