|
1010 | 1010 | "ElectronDownloadOptions": { |
1011 | 1011 | "additionalProperties": false, |
1012 | 1012 | "properties": { |
1013 | | - "arch": { |
1014 | | - "type": "string" |
1015 | | - }, |
1016 | | - "cache": { |
1017 | | - "description": "The [cache location](https://github.com/electron-userland/electron-download#cache-location).", |
1018 | | - "type": [ |
1019 | | - "null", |
1020 | | - "string" |
1021 | | - ] |
1022 | | - }, |
1023 | | - "customDir": { |
1024 | | - "type": [ |
1025 | | - "null", |
1026 | | - "string" |
1027 | | - ] |
1028 | | - }, |
1029 | | - "customFilename": { |
1030 | | - "type": [ |
1031 | | - "null", |
1032 | | - "string" |
1033 | | - ] |
| 1013 | + "checksums": { |
| 1014 | + "type": "object" |
1034 | 1015 | }, |
1035 | | - "isVerifyChecksum": { |
| 1016 | + "force": { |
| 1017 | + "description": "Whether to download an artifact regardless of whether it's in the cache directory.", |
1036 | 1018 | "type": "boolean" |
1037 | 1019 | }, |
1038 | | - "mirror": { |
1039 | | - "description": "The mirror.", |
1040 | | - "type": [ |
1041 | | - "null", |
1042 | | - "string" |
1043 | | - ] |
| 1020 | + "isGeneric": { |
| 1021 | + "const": false, |
| 1022 | + "type": "boolean" |
1044 | 1023 | }, |
1045 | | - "platform": { |
1046 | | - "enum": [ |
1047 | | - "darwin", |
1048 | | - "linux", |
1049 | | - "mas", |
1050 | | - "win32" |
1051 | | - ], |
1052 | | - "type": "string" |
| 1024 | + "mirrorOptions": { |
| 1025 | + "$ref": "#/definitions/MirrorOptions", |
| 1026 | + "description": "Options related to specifying an artifact mirror." |
1053 | 1027 | }, |
1054 | | - "strictSSL": { |
| 1028 | + "unsafelyDisableChecksums": { |
| 1029 | + "description": "When set to `true`, disables checking that the artifact download completed successfully\nwith the correct payload.", |
1055 | 1030 | "type": "boolean" |
1056 | | - }, |
1057 | | - "version": { |
1058 | | - "type": "string" |
1059 | 1031 | } |
1060 | | - }, |
1061 | | - "type": "object" |
| 1032 | + } |
1062 | 1033 | }, |
1063 | 1034 | "FileAssociation": { |
1064 | 1035 | "additionalProperties": false, |
|
3617 | 3588 | }, |
3618 | 3589 | "type": "object" |
3619 | 3590 | }, |
| 3591 | + "MirrorOptions": { |
| 3592 | + "additionalProperties": false, |
| 3593 | + "description": "Options for specifying an alternative download mirror for Electron.", |
| 3594 | + "properties": { |
| 3595 | + "customDir": { |
| 3596 | + "description": "The name of the directory to download from,\noften scoped by version number e.g 'v4.0.4'", |
| 3597 | + "type": "string" |
| 3598 | + }, |
| 3599 | + "customFilename": { |
| 3600 | + "description": "The name of the asset to download,\ne.g 'electron-v4.0.4-linux-x64.zip'", |
| 3601 | + "type": "string" |
| 3602 | + }, |
| 3603 | + "customVersion": { |
| 3604 | + "description": "The version of the asset to download,\ne.g '4.0.4'", |
| 3605 | + "type": "string" |
| 3606 | + }, |
| 3607 | + "mirror": { |
| 3608 | + "description": "The base URL of the mirror to download from.\ne.g https://github.com/electron/electron/releases/download", |
| 3609 | + "type": "string" |
| 3610 | + }, |
| 3611 | + "nightlyMirror": { |
| 3612 | + "description": "The mirror URL for [`electron-nightly`](https://npmjs.com/package/electron-nightly),\nwhich lives in a separate npm package.", |
| 3613 | + "type": "string" |
| 3614 | + }, |
| 3615 | + "nightly_mirror": { |
| 3616 | + "type": "string" |
| 3617 | + }, |
| 3618 | + "resolveAssetURL": { |
| 3619 | + "description": "A function allowing customization of the url returned\nfrom getArtifactRemoteURL().", |
| 3620 | + "typeof": "function" |
| 3621 | + } |
| 3622 | + }, |
| 3623 | + "type": "object" |
| 3624 | + }, |
3620 | 3625 | "MsiOptions": { |
3621 | 3626 | "additionalProperties": false, |
3622 | 3627 | "properties": { |
|
5357 | 5362 | ], |
5358 | 5363 | "type": "object" |
5359 | 5364 | }, |
| 5365 | + "Record<string,string>": { |
| 5366 | + "additionalProperties": false, |
| 5367 | + "type": "object" |
| 5368 | + }, |
5360 | 5369 | "ReleaseInfo": { |
5361 | 5370 | "additionalProperties": false, |
5362 | 5371 | "properties": { |
|
7112 | 7121 | }, |
7113 | 7122 | "electronDownload": { |
7114 | 7123 | "$ref": "#/definitions/ElectronDownloadOptions", |
7115 | | - "description": "The [electron-download](https://github.com/electron-userland/electron-download#usage) options." |
| 7124 | + "description": "The [electron/get](https://github.com/electron/get) options." |
7116 | 7125 | }, |
7117 | 7126 | "electronFuses": { |
7118 | 7127 | "anyOf": [ |
|
0 commit comments