app-builder-lib 26.9.1 → 26.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/out/binDownload.d.ts +2 -18
  2. package/out/binDownload.js +33 -185
  3. package/out/binDownload.js.map +1 -1
  4. package/out/codeSign/windowsSignToolManager.js +1 -1
  5. package/out/codeSign/windowsSignToolManager.js.map +1 -1
  6. package/out/configuration.d.ts +5 -3
  7. package/out/configuration.js.map +1 -1
  8. package/out/electron/ElectronFramework.d.ts +2 -19
  9. package/out/electron/ElectronFramework.js +41 -37
  10. package/out/electron/ElectronFramework.js.map +1 -1
  11. package/out/electron/injectFFMPEG.d.ts +10 -1
  12. package/out/electron/injectFFMPEG.js +48 -34
  13. package/out/electron/injectFFMPEG.js.map +1 -1
  14. package/out/index.d.ts +2 -1
  15. package/out/index.js +1 -1
  16. package/out/index.js.map +1 -1
  17. package/out/macPackager.js +12 -3
  18. package/out/macPackager.js.map +1 -1
  19. package/out/node-module-collector/nodeModulesCollector.js +2 -1
  20. package/out/node-module-collector/nodeModulesCollector.js.map +1 -1
  21. package/out/node-module-collector/pnpmNodeModulesCollector.d.ts +13 -2
  22. package/out/node-module-collector/pnpmNodeModulesCollector.js +45 -7
  23. package/out/node-module-collector/pnpmNodeModulesCollector.js.map +1 -1
  24. package/out/packager.js +10 -9
  25. package/out/packager.js.map +1 -1
  26. package/out/platformPackager.js +2 -5
  27. package/out/platformPackager.js.map +1 -1
  28. package/out/targets/MsiTarget.js +1 -1
  29. package/out/targets/MsiTarget.js.map +1 -1
  30. package/out/targets/appimage/appImageUtil.d.ts +20 -0
  31. package/out/targets/appimage/appImageUtil.js +24 -19
  32. package/out/targets/appimage/appImageUtil.js.map +1 -1
  33. package/out/targets/appimage/appLauncher.d.ts +1 -1
  34. package/out/targets/appimage/appLauncher.js +7 -3
  35. package/out/targets/appimage/appLauncher.js.map +1 -1
  36. package/out/targets/nsis/nsisUtil.js +2 -2
  37. package/out/targets/nsis/nsisUtil.js.map +1 -1
  38. package/out/toolsets/linux.js +8 -8
  39. package/out/toolsets/linux.js.map +1 -1
  40. package/out/toolsets/windows.d.ts +16 -16
  41. package/out/toolsets/windows.js +29 -21
  42. package/out/toolsets/windows.js.map +1 -1
  43. package/out/util/NodeModuleCopyHelper.js +1 -1
  44. package/out/util/NodeModuleCopyHelper.js.map +1 -1
  45. package/out/util/electronGet.d.ts +56 -0
  46. package/out/util/electronGet.js +330 -0
  47. package/out/util/electronGet.js.map +1 -0
  48. package/out/util/resolve.d.ts +1 -1
  49. package/out/util/resolve.js +6 -1
  50. package/out/util/resolve.js.map +1 -1
  51. package/out/version.d.ts +1 -1
  52. package/out/version.js +1 -1
  53. package/out/version.js.map +1 -1
  54. package/package.json +10 -8
  55. package/scheme.json +61 -2
package/scheme.json CHANGED
@@ -1104,6 +1104,49 @@
1104
1104
  },
1105
1105
  "version": {
1106
1106
  "type": "string"
1107
+ },
1108
+ "checksums": {
1109
+ "type": "object",
1110
+ "additionalProperties": {
1111
+ "type": "string"
1112
+ }
1113
+ }
1114
+ },
1115
+ "type": "object"
1116
+ },
1117
+ "ElectronGetOptions": {
1118
+ "additionalProperties": false,
1119
+ "properties": {
1120
+ "checksums": {
1121
+ "$ref": "#/definitions/Record<string,string>",
1122
+ "description": "Provides checksums for the artifact as strings.\nCan be used if you already know the checksums of the Electron artifact\nyou are downloading and want to skip the checksum file download\nwithout skipping the checksum validation.\n\nThis should be an object whose keys are the file names of the artifacts and\nthe values are their respective SHA256 checksums."
1123
+ },
1124
+ "force": {
1125
+ "description": "Whether to download an artifact regardless of whether it's in the cache directory.",
1126
+ "type": "boolean"
1127
+ },
1128
+ "unsafelyDisableChecksums": {
1129
+ "description": "When set to `true`, disables checking that the artifact download completed successfully\nwith the correct payload.",
1130
+ "type": "boolean"
1131
+ },
1132
+ "mirrorOptions": {
1133
+ "type": "object",
1134
+ "additionalProperties": false,
1135
+ "description": "Mirror options passed directly to @electron/get. Omits customDir, customFilename, and customVersion which are controlled by electron-builder.",
1136
+ "properties": {
1137
+ "mirror": {
1138
+ "type": "string",
1139
+ "description": "The base mirror URL for downloading Electron artifacts."
1140
+ },
1141
+ "nightlyMirror": {
1142
+ "type": "string",
1143
+ "description": "The mirror URL to use for nightly Electron builds."
1144
+ },
1145
+ "resolveAssetURL": {
1146
+ "type": "string",
1147
+ "description": "A custom function (serialised) to resolve the full asset URL."
1148
+ }
1149
+ }
1107
1150
  }
1108
1151
  },
1109
1152
  "type": "object"
@@ -5607,6 +5650,12 @@
5607
5650
  ],
5608
5651
  "type": "object"
5609
5652
  },
5653
+ "Record<string,string>": {
5654
+ "type": "object",
5655
+ "additionalProperties": {
5656
+ "type": "string"
5657
+ }
5658
+ },
5610
5659
  "ReleaseInfo": {
5611
5660
  "additionalProperties": false,
5612
5661
  "properties": {
@@ -7411,8 +7460,18 @@
7411
7460
  "description": "The function (or path to file or module id) to be run when staging the electron artifact environment.\nReturns the path to custom Electron build (e.g. `~/electron/out/R`) or folder of electron zips.\n\nZip files must follow the pattern `electron-v${version}-${platformName}-${arch}.zip`, otherwise it will be assumed to be an unpacked Electron app directory"
7412
7461
  },
7413
7462
  "electronDownload": {
7414
- "$ref": "#/definitions/ElectronDownloadOptions",
7415
- "description": "The [electron-download](https://github.com/electron-userland/electron-download#usage) options."
7463
+ "anyOf": [
7464
+ {
7465
+ "$ref": "#/definitions/ElectronDownloadOptions"
7466
+ },
7467
+ {
7468
+ "$ref": "#/definitions/ElectronGetOptions"
7469
+ },
7470
+ {
7471
+ "type": "null"
7472
+ }
7473
+ ],
7474
+ "description": "The [electron-download](https://github.com/electron-userland/electron-download#usage) options. (legacy)\nAlternatively, you can use [electron/get](https://github.com/electron/get#usage) options."
7416
7475
  },
7417
7476
  "electronFuses": {
7418
7477
  "anyOf": [