app-builder-lib 27.0.0-alpha.2 → 27.0.0-alpha.3
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.
- package/dist/Framework.d.ts +2 -0
- package/dist/Framework.d.ts.map +1 -1
- package/dist/Framework.js.map +1 -1
- package/dist/asar/asarFileChecker.d.ts +4 -2
- package/dist/asar/asarFileChecker.d.ts.map +1 -1
- package/dist/asar/asarFileChecker.js +2 -3
- package/dist/asar/asarFileChecker.js.map +1 -1
- package/dist/codeSign/certInfo.d.ts +14 -0
- package/dist/codeSign/certInfo.d.ts.map +1 -1
- package/dist/codeSign/certInfo.js +49 -0
- package/dist/codeSign/certInfo.js.map +1 -1
- package/dist/codeSign/mac/macCodeSign.d.ts +3 -3
- package/dist/codeSign/mac/macCodeSign.d.ts.map +1 -1
- package/dist/codeSign/mac/macCodeSign.js +40 -14
- package/dist/codeSign/mac/macCodeSign.js.map +1 -1
- package/dist/codeSign/win/hsmSignManager.d.ts +10 -0
- package/dist/codeSign/win/hsmSignManager.d.ts.map +1 -0
- package/dist/codeSign/win/hsmSignManager.js +50 -0
- package/dist/codeSign/win/hsmSignManager.js.map +1 -0
- package/dist/codeSign/win/pkcs11SignManager.d.ts +14 -0
- package/dist/codeSign/win/pkcs11SignManager.d.ts.map +1 -0
- package/dist/codeSign/win/pkcs11SignManager.js +82 -0
- package/dist/codeSign/win/pkcs11SignManager.js.map +1 -0
- package/dist/codeSign/{signManager.d.ts → win/signManager.d.ts} +8 -6
- package/dist/codeSign/win/signManager.d.ts.map +1 -0
- package/dist/codeSign/win/signManager.js +19 -0
- package/dist/codeSign/win/signManager.js.map +1 -0
- package/dist/codeSign/win/signtoolBaseSignManager.d.ts +71 -0
- package/dist/codeSign/win/signtoolBaseSignManager.d.ts.map +1 -0
- package/dist/codeSign/win/signtoolBaseSignManager.js +407 -0
- package/dist/codeSign/win/signtoolBaseSignManager.js.map +1 -0
- package/dist/codeSign/win/windowsCodeSign.d.ts.map +1 -1
- package/dist/codeSign/win/windowsCodeSign.js +9 -4
- package/dist/codeSign/win/windowsCodeSign.js.map +1 -1
- package/dist/codeSign/win/windowsSignAzureManager.d.ts +9 -3
- package/dist/codeSign/win/windowsSignAzureManager.d.ts.map +1 -1
- package/dist/codeSign/win/windowsSignAzureManager.js +130 -36
- package/dist/codeSign/win/windowsSignAzureManager.js.map +1 -1
- package/dist/codeSign/win/windowsSignToolManager.d.ts +1 -58
- package/dist/codeSign/win/windowsSignToolManager.d.ts.map +1 -1
- package/dist/codeSign/win/windowsSignToolManager.js +3 -363
- package/dist/codeSign/win/windowsSignToolManager.js.map +1 -1
- package/dist/configuration.d.ts +19 -120
- package/dist/configuration.d.ts.map +1 -1
- package/dist/configuration.js.map +1 -1
- package/dist/electron/ElectronFramework.d.ts +0 -2
- package/dist/electron/ElectronFramework.d.ts.map +1 -1
- package/dist/electron/ElectronFramework.js +15 -27
- package/dist/electron/ElectronFramework.js.map +1 -1
- package/dist/electron/injectFFMPEG.js +2 -2
- package/dist/electron/injectFFMPEG.js.map +1 -1
- package/dist/electron/mac/electronMac.js +10 -8
- package/dist/electron/mac/electronMac.js.map +1 -1
- package/dist/electron/win/electronWin.js +1 -2
- package/dist/electron/win/electronWin.js.map +1 -1
- package/dist/index.d.ts +8 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/indexInternal.d.ts +2 -2
- package/dist/indexInternal.d.ts.map +1 -1
- package/dist/indexInternal.js +1 -1
- package/dist/indexInternal.js.map +1 -1
- package/dist/macPackager.d.ts +14 -10
- package/dist/macPackager.d.ts.map +1 -1
- package/dist/macPackager.js +114 -121
- package/dist/macPackager.js.map +1 -1
- package/dist/node-module-collector/moduleManager.d.ts +7 -1
- package/dist/node-module-collector/moduleManager.d.ts.map +1 -1
- package/dist/node-module-collector/moduleManager.js +2 -2
- package/dist/node-module-collector/moduleManager.js.map +1 -1
- package/dist/node-module-collector/nodeModulesCollector.js +1 -1
- package/dist/node-module-collector/nodeModulesCollector.js.map +1 -1
- package/dist/node-module-collector/pnpmNodeModulesCollector.d.ts +48 -1
- package/dist/node-module-collector/pnpmNodeModulesCollector.d.ts.map +1 -1
- package/dist/node-module-collector/pnpmNodeModulesCollector.js +216 -17
- package/dist/node-module-collector/pnpmNodeModulesCollector.js.map +1 -1
- package/dist/options/FuseOptionsV1.d.ts +137 -0
- package/dist/options/FuseOptionsV1.d.ts.map +1 -0
- package/dist/options/FuseOptionsV1.js +2 -0
- package/dist/options/FuseOptionsV1.js.map +1 -0
- package/dist/options/PlatformSpecificBuildOptions.d.ts +1 -1
- package/dist/options/PlatformSpecificBuildOptions.d.ts.map +1 -1
- package/dist/options/PlatformSpecificBuildOptions.js.map +1 -1
- package/dist/options/macOptions.d.ts +93 -126
- package/dist/options/macOptions.d.ts.map +1 -1
- package/dist/options/macOptions.js.map +1 -1
- package/dist/options/winOptions.d.ts +137 -63
- package/dist/options/winOptions.d.ts.map +1 -1
- package/dist/options/winOptions.js +12 -1
- package/dist/options/winOptions.js.map +1 -1
- package/dist/platformPackager.d.ts +4 -2
- package/dist/platformPackager.d.ts.map +1 -1
- package/dist/platformPackager.js +11 -7
- package/dist/platformPackager.js.map +1 -1
- package/dist/targets/ArchiveTarget.js +2 -2
- package/dist/targets/ArchiveTarget.js.map +1 -1
- package/dist/targets/archive.d.ts +10 -2
- package/dist/targets/archive.d.ts.map +1 -1
- package/dist/targets/archive.js +25 -6
- package/dist/targets/archive.js.map +1 -1
- package/dist/targets/linux/snap/core24.d.ts +2 -0
- package/dist/targets/linux/snap/core24.d.ts.map +1 -1
- package/dist/targets/linux/snap/core24.js +48 -8
- package/dist/targets/linux/snap/core24.js.map +1 -1
- package/dist/targets/linux/snap/coreLegacy.d.ts +2 -2
- package/dist/targets/linux/snap/coreLegacy.d.ts.map +1 -1
- package/dist/targets/linux/snap/coreLegacy.js +3 -4
- package/dist/targets/linux/snap/coreLegacy.js.map +1 -1
- package/dist/targets/linux/snap/snapCommand.d.ts +13 -0
- package/dist/targets/linux/snap/snapCommand.d.ts.map +1 -0
- package/dist/targets/linux/snap/snapCommand.js +27 -0
- package/dist/targets/linux/snap/snapCommand.js.map +1 -0
- package/dist/targets/mac/MacTargetHelper.d.ts +12 -12
- package/dist/targets/mac/MacTargetHelper.d.ts.map +1 -1
- package/dist/targets/mac/MacTargetHelper.js +72 -67
- package/dist/targets/mac/MacTargetHelper.js.map +1 -1
- package/dist/targets/mac/pkg.d.ts.map +1 -1
- package/dist/targets/mac/pkg.js +4 -4
- package/dist/targets/mac/pkg.js.map +1 -1
- package/dist/targets/win/AppxTarget.d.ts.map +1 -1
- package/dist/targets/win/AppxTarget.js +4 -4
- package/dist/targets/win/AppxTarget.js.map +1 -1
- package/dist/targets/win/nsis/NsisTarget.js +2 -2
- package/dist/targets/win/nsis/NsisTarget.js.map +1 -1
- package/dist/targets/win/nsis/nsisScriptGenerator.js +1 -1
- package/dist/targets/win/nsis/nsisScriptGenerator.js.map +1 -1
- package/dist/targets/win/nsis/nsisUtil.d.ts.map +1 -1
- package/dist/targets/win/nsis/nsisUtil.js +2 -2
- package/dist/targets/win/nsis/nsisUtil.js.map +1 -1
- package/dist/toolsets/custom.d.ts +1 -0
- package/dist/toolsets/custom.d.ts.map +1 -1
- package/dist/toolsets/custom.js +19 -8
- package/dist/toolsets/custom.js.map +1 -1
- package/dist/toolsets/icons.js +1 -1
- package/dist/toolsets/icons.js.map +1 -1
- package/dist/toolsets/winCodeSign.d.ts +36 -0
- package/dist/toolsets/winCodeSign.d.ts.map +1 -1
- package/dist/toolsets/winCodeSign.js +84 -30
- package/dist/toolsets/winCodeSign.js.map +1 -1
- package/dist/toolsets/wine.d.ts.map +1 -1
- package/dist/toolsets/wine.js +20 -12
- package/dist/toolsets/wine.js.map +1 -1
- package/dist/util/config/schemaValidator.d.ts.map +1 -1
- package/dist/util/config/schemaValidator.js +1 -1
- package/dist/util/config/schemaValidator.js.map +1 -1
- package/dist/util/electronGet.d.ts +8 -25
- package/dist/util/electronGet.d.ts.map +1 -1
- package/dist/util/electronGet.js +107 -87
- package/dist/util/electronGet.js.map +1 -1
- package/dist/util/flags.d.ts +0 -3
- package/dist/util/flags.d.ts.map +1 -1
- package/dist/util/flags.js +0 -9
- package/dist/util/flags.js.map +1 -1
- package/dist/util/license.d.ts.map +1 -1
- package/dist/util/license.js +4 -1
- package/dist/util/license.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/vm/ParallelsVm.d.ts.map +1 -1
- package/dist/vm/ParallelsVm.js +13 -2
- package/dist/vm/ParallelsVm.js.map +1 -1
- package/dist/vm/vm.d.ts.map +1 -1
- package/dist/vm/vm.js +4 -1
- package/dist/vm/vm.js.map +1 -1
- package/dist/winPackager.d.ts +1 -2
- package/dist/winPackager.d.ts.map +1 -1
- package/dist/winPackager.js +17 -22
- package/dist/winPackager.js.map +1 -1
- package/package.json +15 -14
- package/scheme.json +484 -432
- package/dist/codeSign/signManager.d.ts.map +0 -1
- package/dist/codeSign/signManager.js +0 -2
- package/dist/codeSign/signManager.js.map +0 -1
package/scheme.json
CHANGED
|
@@ -1168,98 +1168,177 @@
|
|
|
1168
1168
|
},
|
|
1169
1169
|
"type": "object"
|
|
1170
1170
|
},
|
|
1171
|
-
"
|
|
1171
|
+
"ElectronGetOptions": {
|
|
1172
1172
|
"additionalProperties": false,
|
|
1173
1173
|
"properties": {
|
|
1174
|
-
"
|
|
1175
|
-
"
|
|
1174
|
+
"checksums": {
|
|
1175
|
+
"$ref": "#/definitions/Record<string,string>",
|
|
1176
|
+
"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."
|
|
1177
|
+
},
|
|
1178
|
+
"mirrorOptions": {
|
|
1179
|
+
"type": "object",
|
|
1180
|
+
"additionalProperties": false,
|
|
1181
|
+
"description": "Mirror options passed directly to @electron/get. Omits customDir, customFilename, and customVersion which are controlled by electron-builder.",
|
|
1182
|
+
"properties": {
|
|
1183
|
+
"mirror": {
|
|
1184
|
+
"type": "string",
|
|
1185
|
+
"description": "The base mirror URL for downloading Electron artifacts."
|
|
1186
|
+
},
|
|
1187
|
+
"nightlyMirror": {
|
|
1188
|
+
"type": "string",
|
|
1189
|
+
"description": "The mirror URL to use for nightly Electron builds."
|
|
1190
|
+
},
|
|
1191
|
+
"resolveAssetURL": {
|
|
1192
|
+
"type": "string",
|
|
1193
|
+
"description": "A custom function (serialised) to resolve the full asset URL."
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
},
|
|
1197
|
+
"unsafelyDisableChecksums": {
|
|
1198
|
+
"description": "When set to `true`, disables checking that the artifact download completed successfully\nwith the correct payload.",
|
|
1199
|
+
"type": "boolean"
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
"type": "object"
|
|
1203
|
+
},
|
|
1204
|
+
"ElectronSignOptions": {
|
|
1205
|
+
"additionalProperties": false,
|
|
1206
|
+
"description": "Signing options passed to `@electron/osx-sign`. Electron-builder owns the fields it must control\nitself — `app`, `keychain`, `platform`, `version`, `optionsForFile`, and `type` (derived from the\nbuild flavor: `mas-dev` → `development`, otherwise `distribution`) — and forwards everything else.\n\nAdditionally exposes a small set of per-file convenience fields that electron-builder maps\ninternally through `optionsForFile`.",
|
|
1207
|
+
"properties": {
|
|
1208
|
+
"additionalArguments": {
|
|
1209
|
+
"anyOf": [
|
|
1210
|
+
{
|
|
1211
|
+
"items": {
|
|
1212
|
+
"type": "string"
|
|
1213
|
+
},
|
|
1214
|
+
"type": "array"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"type": "null"
|
|
1218
|
+
}
|
|
1219
|
+
],
|
|
1220
|
+
"description": "Extra arguments passed to each `codesign` invocation."
|
|
1221
|
+
},
|
|
1222
|
+
"batchCodesignCalls": {
|
|
1223
|
+
"description": "Combine all files with identical CLI arguments in a single `codesign` call instead of running\n`codesign` once for each of those files. This minimizes the number of child processes that need\nto be spawned and reduces the time it takes to sign all files.",
|
|
1224
|
+
"type": "boolean"
|
|
1225
|
+
},
|
|
1226
|
+
"binaries": {
|
|
1227
|
+
"description": "Array of paths to additional binaries that will be signed along with built-ins of Electron.",
|
|
1228
|
+
"items": {
|
|
1229
|
+
"type": "string"
|
|
1230
|
+
},
|
|
1231
|
+
"type": "array"
|
|
1176
1232
|
},
|
|
1177
|
-
"
|
|
1178
|
-
"description": "
|
|
1233
|
+
"entitlements": {
|
|
1234
|
+
"description": "Path to the main app entitlements file.\nFalls back to `build/entitlements.mac.plist` if it exists, then to `@electron/osx-sign`'s\nbuilt-in defaults.",
|
|
1179
1235
|
"type": [
|
|
1180
1236
|
"null",
|
|
1181
1237
|
"string"
|
|
1182
1238
|
]
|
|
1183
1239
|
},
|
|
1184
|
-
"
|
|
1240
|
+
"entitlementsInherit": {
|
|
1241
|
+
"description": "Path to child entitlements inherited by embedded frameworks and bundles.\nFalls back to `build/entitlements.mac.inherit.plist` if it exists.",
|
|
1185
1242
|
"type": [
|
|
1186
1243
|
"null",
|
|
1187
1244
|
"string"
|
|
1188
1245
|
]
|
|
1189
1246
|
},
|
|
1190
|
-
"
|
|
1247
|
+
"entitlementsLoginHelper": {
|
|
1248
|
+
"description": "Path to entitlements for the Login Helper.\nRequired when using App Sandbox, because the Login Helper cannot inherit entitlements.\nDefaults to the value of `entitlements`.",
|
|
1191
1249
|
"type": [
|
|
1192
1250
|
"null",
|
|
1193
1251
|
"string"
|
|
1194
1252
|
]
|
|
1195
1253
|
},
|
|
1196
|
-
"
|
|
1254
|
+
"hardenedRuntime": {
|
|
1255
|
+
"description": "Whether to enable [Hardened Runtime](https://developer.apple.com/documentation/security/hardened_runtime).\n\nHardened Runtime is a prerequisite for notarization (mandatory on macOS 10.15+).\nDefaults to `true` for `darwin` builds and `false` for `mas-dev`.",
|
|
1197
1256
|
"type": "boolean"
|
|
1198
1257
|
},
|
|
1199
|
-
"
|
|
1200
|
-
"description": "The
|
|
1258
|
+
"identity": {
|
|
1259
|
+
"description": "The signing identity (certificate name or SHA-1 hash). Applies to both app signing and DMG signing.\nPrefer the environment variables `CSC_LINK` / `CSC_NAME` over hardcoding this value.\n\n- **Not set** (default): electron-builder searches the keychain for a valid certificate.\n- **`null`**: skip signing entirely.\n- **`\"-\"`**: ad-hoc signing (requires disabling library validation — see `hardenedRuntime`).",
|
|
1201
1260
|
"type": [
|
|
1202
1261
|
"null",
|
|
1203
1262
|
"string"
|
|
1204
1263
|
]
|
|
1205
1264
|
},
|
|
1206
|
-
"
|
|
1207
|
-
"
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1265
|
+
"identityValidation": {
|
|
1266
|
+
"description": "Flag to enable/disable validation for the signing identity.\nIf enabled, the {@link SignOptions.identityidentity} provided\nwill be validated in the {@link BaseSignOptions.keychainkeychain} specified.",
|
|
1267
|
+
"type": "boolean"
|
|
1268
|
+
},
|
|
1269
|
+
"ignore": {
|
|
1270
|
+
"anyOf": [
|
|
1271
|
+
{
|
|
1272
|
+
"items": {
|
|
1273
|
+
"type": "string"
|
|
1274
|
+
},
|
|
1275
|
+
"type": "array"
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"typeof": "function"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"type": "string"
|
|
1282
|
+
}
|
|
1212
1283
|
],
|
|
1213
|
-
"
|
|
1284
|
+
"description": "Defines files that will be skipped during the code signing process.\nThis property accepts a regex, function or an array of regexes and functions.\nElements of other types are treated as `RegExp`.\n\nFile paths matching a regex or returning a `true` value from a function will be ignored."
|
|
1285
|
+
},
|
|
1286
|
+
"preAutoEntitlements": {
|
|
1287
|
+
"description": "Flag to enable/disable entitlements automation tasks necessary for code signing most Electron apps.\n* Adds [`com.apple.security.application-groups`](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_application-groups) to the entitlements file\n* Fills in the `ElectronTeamID` property in `Info.plist` with the provisioning profile's Team Identifier or by parsing the identity name.",
|
|
1288
|
+
"type": "boolean"
|
|
1214
1289
|
},
|
|
1215
|
-
"
|
|
1290
|
+
"preEmbedProvisioningProfile": {
|
|
1291
|
+
"description": "Flag to enable/disable the embedding of a provisioning profile into the app's `Contents` folder.\nWill use the profile from {@link OnlySignOptions.provisioningProfile} if provided. Otherwise, it\nsearches for a `.provisionprofile` file in the current working directory.",
|
|
1216
1292
|
"type": "boolean"
|
|
1217
1293
|
},
|
|
1218
|
-
"
|
|
1294
|
+
"provisioningProfile": {
|
|
1295
|
+
"description": "Path to a provisioning profile, which can be used to grant restricted entitlements to your app.\n\nSee [Apple Documentation](https://developer.apple.com/documentation/technotes/tn3125-inside-code-signing-provisioning-profiles) for more details.",
|
|
1219
1296
|
"type": "string"
|
|
1220
1297
|
},
|
|
1221
|
-
"
|
|
1222
|
-
"
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
1225
|
-
|
|
1298
|
+
"requirements": {
|
|
1299
|
+
"description": "Path to a [requirements file](https://developer.apple.com/library/mac/documentation/Security/Conceptual/CodeSigningGuide/RequirementLang/RequirementLang.html).\nNot applicable for MAS.",
|
|
1300
|
+
"type": [
|
|
1301
|
+
"null",
|
|
1302
|
+
"string"
|
|
1303
|
+
]
|
|
1304
|
+
},
|
|
1305
|
+
"strictVerify": {
|
|
1306
|
+
"description": "Flag to enable/disable the `--strict` flag when verifying the signed application bundle.\nAlso supports string values to specify which strict restrictions to use, see codesign man page for supported values.",
|
|
1307
|
+
"type": [
|
|
1308
|
+
"string",
|
|
1309
|
+
"boolean"
|
|
1310
|
+
]
|
|
1311
|
+
},
|
|
1312
|
+
"timestamp": {
|
|
1313
|
+
"description": "URL of the timestamp authority server. Passed per-file to `codesign --timestamp=<url>`.",
|
|
1314
|
+
"type": [
|
|
1315
|
+
"null",
|
|
1316
|
+
"string"
|
|
1317
|
+
]
|
|
1226
1318
|
}
|
|
1227
1319
|
},
|
|
1228
1320
|
"type": "object"
|
|
1229
1321
|
},
|
|
1230
|
-
"
|
|
1322
|
+
"ElectronUniversalOptions": {
|
|
1231
1323
|
"additionalProperties": false,
|
|
1324
|
+
"description": "Options forwarded to `@electron/universal`'s `makeUniversalApp`.\nElectron-builder fills in the app paths and `force`; everything else is configurable here\nand auto-tracks upstream additions to `MakeUniversalOpts`.",
|
|
1232
1325
|
"properties": {
|
|
1233
|
-
"
|
|
1234
|
-
"
|
|
1235
|
-
"
|
|
1326
|
+
"infoPlistsToIgnore": {
|
|
1327
|
+
"description": "A {@link https://github.com/isaacs/minimatch?tab=readme-ov-file#features minimatch} pattern of `Info.plist`\npaths that should not receive an injected `ElectronAsarIntegrity` value.\n\nUse this if your application contains another bundle that's already signed.",
|
|
1328
|
+
"type": "string"
|
|
1236
1329
|
},
|
|
1237
|
-
"
|
|
1238
|
-
"
|
|
1330
|
+
"mergeASARs": {
|
|
1331
|
+
"default": true,
|
|
1332
|
+
"description": "Whether to merge x64 and arm64 ASARs into one.",
|
|
1239
1333
|
"type": "boolean"
|
|
1240
1334
|
},
|
|
1241
|
-
"
|
|
1242
|
-
"description": "
|
|
1243
|
-
"type": "
|
|
1335
|
+
"singleArchFiles": {
|
|
1336
|
+
"description": "If {@link MakeUniversalOpts.mergeASARs} is enabled, this property provides a\n{@link https://github.com/isaacs/minimatch?tab=readme-ov-file#features minimatch}\npattern of paths that are allowed to be present in one of the ASAR files, but not in the other.",
|
|
1337
|
+
"type": "string"
|
|
1244
1338
|
},
|
|
1245
|
-
"
|
|
1246
|
-
"
|
|
1247
|
-
"
|
|
1248
|
-
"description": "Mirror options passed directly to @electron/get. Omits customDir, customFilename, and customVersion which are controlled by electron-builder.",
|
|
1249
|
-
"properties": {
|
|
1250
|
-
"mirror": {
|
|
1251
|
-
"type": "string",
|
|
1252
|
-
"description": "The base mirror URL for downloading Electron artifacts."
|
|
1253
|
-
},
|
|
1254
|
-
"nightlyMirror": {
|
|
1255
|
-
"type": "string",
|
|
1256
|
-
"description": "The mirror URL to use for nightly Electron builds."
|
|
1257
|
-
},
|
|
1258
|
-
"resolveAssetURL": {
|
|
1259
|
-
"type": "string",
|
|
1260
|
-
"description": "A custom function (serialised) to resolve the full asset URL."
|
|
1261
|
-
}
|
|
1262
|
-
}
|
|
1339
|
+
"x64ArchFiles": {
|
|
1340
|
+
"description": "A {@link https://github.com/isaacs/minimatch?tab=readme-ov-file#features minimatch}\npattern of binaries that are expected to be the same x64 binary in both\n\nUse this if your application contains binaries that have already been merged into a universal file\nusing the `lipo` tool.",
|
|
1341
|
+
"type": "string"
|
|
1263
1342
|
}
|
|
1264
1343
|
},
|
|
1265
1344
|
"type": "object"
|
|
@@ -1564,7 +1643,7 @@
|
|
|
1564
1643
|
"type": "boolean"
|
|
1565
1644
|
},
|
|
1566
1645
|
"enableEmbeddedAsarIntegrityValidation": {
|
|
1567
|
-
"description": "Enables ASAR integrity validation — Electron verifies the embedded SHA-256 hash of\n`app.asar` before loading it.\n\nPlatform support:\n- macOS: Electron ≥ 16.0.0\n- Windows: Electron ≥ 30.0.0\n\nFor this fuse to be meaningful, `asar.disableIntegrity` must **not** be\n`true` (otherwise the hash is not embedded)
|
|
1646
|
+
"description": "Enables ASAR integrity validation — Electron verifies the embedded SHA-256 hash of\n`app.asar` before loading it.\n\nPlatform support:\n- macOS: Electron ≥ 16.0.0\n- Windows: Electron ≥ 30.0.0\n\nFor this fuse to be meaningful, `asar.disableIntegrity` must **not** be\n`true` (otherwise the hash is not embedded).",
|
|
1568
1647
|
"type": "boolean"
|
|
1569
1648
|
},
|
|
1570
1649
|
"enableNodeCliInspectArguments": {
|
|
@@ -1588,12 +1667,16 @@
|
|
|
1588
1667
|
"type": "boolean"
|
|
1589
1668
|
},
|
|
1590
1669
|
"resetAdHocDarwinSignature": {
|
|
1591
|
-
"description": "Re-applies the ad-hoc codesignature on macOS after fuses are flipped.\n\nelectron-builder already re-signs the app after flipping fuses, so this flag is\ngenerally not needed and exists only as a compatibility shim for edge cases
|
|
1670
|
+
"description": "Re-applies the ad-hoc codesignature on macOS after fuses are flipped.\n\nelectron-builder already re-signs the app after flipping fuses, so this flag is\ngenerally not needed and exists only as a compatibility shim for edge cases.",
|
|
1592
1671
|
"type": "boolean"
|
|
1593
1672
|
},
|
|
1594
1673
|
"runAsNode": {
|
|
1595
1674
|
"description": "Controls whether the `ELECTRON_RUN_AS_NODE` environment variable is respected.\n\nWhen `true` (the Electron default), setting `ELECTRON_RUN_AS_NODE=1` in the environment\nmakes Electron behave like a plain Node.js process, bypassing the app entirely. Disable\nthis fuse in production apps to prevent that escape path.\n\n**Note:** Disabling this fuse also breaks `process.fork()` in the main process because\nit relies on `ELECTRON_RUN_AS_NODE` internally. Use\n[Utility Processes](https://www.electronjs.org/docs/latest/api/utility-process) as a\nreplacement.",
|
|
1596
1675
|
"type": "boolean"
|
|
1676
|
+
},
|
|
1677
|
+
"wasmTrapHandlers": {
|
|
1678
|
+
"description": "Enables V8 signal-based trap handlers for out-of-bounds WebAssembly memory accesses.\n\nWhen enabled, Electron uses OS signals (e.g. `SIGSEGV` on Linux/macOS) to catch Wasm\nOOB accesses at the hardware level rather than inserting explicit bounds checks in JIT'd\ncode. This improves Wasm performance and is enabled by default in Electron.\n\nDisable only if the host environment restricts signal handlers (e.g. certain sandboxing\nconfigurations) and you observe crashes in Wasm-heavy workloads.",
|
|
1679
|
+
"type": "boolean"
|
|
1597
1680
|
}
|
|
1598
1681
|
},
|
|
1599
1682
|
"type": "object"
|
|
@@ -2018,11 +2101,10 @@
|
|
|
2018
2101
|
"$ref": "#/definitions/AsarOptions"
|
|
2019
2102
|
},
|
|
2020
2103
|
{
|
|
2021
|
-
"
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
"type": "null"
|
|
2104
|
+
"type": [
|
|
2105
|
+
"null",
|
|
2106
|
+
"boolean"
|
|
2107
|
+
]
|
|
2026
2108
|
}
|
|
2027
2109
|
],
|
|
2028
2110
|
"default": true,
|
|
@@ -2636,20 +2718,6 @@
|
|
|
2636
2718
|
"MacConfiguration": {
|
|
2637
2719
|
"additionalProperties": false,
|
|
2638
2720
|
"properties": {
|
|
2639
|
-
"additionalArguments": {
|
|
2640
|
-
"anyOf": [
|
|
2641
|
-
{
|
|
2642
|
-
"items": {
|
|
2643
|
-
"type": "string"
|
|
2644
|
-
},
|
|
2645
|
-
"type": "array"
|
|
2646
|
-
},
|
|
2647
|
-
{
|
|
2648
|
-
"type": "null"
|
|
2649
|
-
}
|
|
2650
|
-
],
|
|
2651
|
-
"description": "Array of strings specifying additional arguments to pass to the `codesign` command used to sign a specific file.\n\nSome subresources that you may include in your Electron app may need to be signed with --deep, this is not typically safe to apply to the entire Electron app and therefore should be applied to just your file.\nUsage Example: `['--deep']`"
|
|
2652
|
-
},
|
|
2653
2721
|
"appId": {
|
|
2654
2722
|
"default": "com.electron.${name}",
|
|
2655
2723
|
"description": "The application id. Used as [CFBundleIdentifier](https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102070) for MacOS and as\n[Application User Model ID](https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx) for Windows (NSIS target only, Squirrel.Windows not supported). It is strongly recommended that an explicit ID is set.",
|
|
@@ -2671,30 +2739,15 @@
|
|
|
2671
2739
|
"$ref": "#/definitions/AsarOptions"
|
|
2672
2740
|
},
|
|
2673
2741
|
{
|
|
2674
|
-
"
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
"type": "null"
|
|
2742
|
+
"type": [
|
|
2743
|
+
"null",
|
|
2744
|
+
"boolean"
|
|
2745
|
+
]
|
|
2679
2746
|
}
|
|
2680
2747
|
],
|
|
2681
2748
|
"default": true,
|
|
2682
2749
|
"description": "Whether to package the application's source code into an archive, using [Electron's archive format](http://electron.atom.io/docs/tutorial/application-packaging/).\n\nNode modules that must be unpacked will be detected automatically. Use {@link AsarOptions.unpack} to specify additional files to unpack."
|
|
2683
2750
|
},
|
|
2684
|
-
"binaries": {
|
|
2685
|
-
"anyOf": [
|
|
2686
|
-
{
|
|
2687
|
-
"items": {
|
|
2688
|
-
"type": "string"
|
|
2689
|
-
},
|
|
2690
|
-
"type": "array"
|
|
2691
|
-
},
|
|
2692
|
-
{
|
|
2693
|
-
"type": "null"
|
|
2694
|
-
}
|
|
2695
|
-
],
|
|
2696
|
-
"description": "Paths of any extra binaries that need to be signed."
|
|
2697
|
-
},
|
|
2698
2751
|
"bundleShortVersion": {
|
|
2699
2752
|
"description": "The `CFBundleShortVersionString`. Do not use it unless you need to.",
|
|
2700
2753
|
"type": [
|
|
@@ -2800,27 +2853,6 @@
|
|
|
2800
2853
|
"string"
|
|
2801
2854
|
]
|
|
2802
2855
|
},
|
|
2803
|
-
"entitlements": {
|
|
2804
|
-
"description": "The path to entitlements file for signing the app. `build/entitlements.mac.plist` will be used if exists (it is a recommended way to set).\nMAS entitlements is specified in the [mas](https://www.electron.build/mas).\nSee [this folder in osx-sign's repository](https://github.com/electron/osx-sign/tree/main/entitlements) for examples.\nBe aware that your app may crash if the right entitlements are not set like `com.apple.security.cs.allow-jit` for example on arm64 builds with Electron 20+.\nSee [Signing and Notarizing macOS Builds from the Electron documentation](https://www.electronjs.org/docs/latest/tutorial/code-signing#signing--notarizing-macos-builds) for more information.",
|
|
2805
|
-
"type": [
|
|
2806
|
-
"null",
|
|
2807
|
-
"string"
|
|
2808
|
-
]
|
|
2809
|
-
},
|
|
2810
|
-
"entitlementsInherit": {
|
|
2811
|
-
"description": "The path to child entitlements which inherit the security settings for signing frameworks and bundles of a distribution. `build/entitlements.mac.inherit.plist` will be used if exists (it is a recommended way to set).\nSee [this folder in osx-sign's repository](https://github.com/electron/osx-sign/tree/main/entitlements) for examples.\n\nThis option only applies when signing with `entitlements` provided.",
|
|
2812
|
-
"type": [
|
|
2813
|
-
"null",
|
|
2814
|
-
"string"
|
|
2815
|
-
]
|
|
2816
|
-
},
|
|
2817
|
-
"entitlementsLoginHelper": {
|
|
2818
|
-
"description": "Path to login helper entitlement file.\nWhen using App Sandbox, the the `com.apple.security.inherit` key that is normally in the inherited entitlements cannot be inherited since the login helper is a standalone executable.\nDefaults to the value provided for `entitlements`. This option only applies when signing with `entitlements` provided.",
|
|
2819
|
-
"type": [
|
|
2820
|
-
"null",
|
|
2821
|
-
"string"
|
|
2822
|
-
]
|
|
2823
|
-
},
|
|
2824
2856
|
"executableName": {
|
|
2825
2857
|
"description": "The executable name. Defaults to `productName`\nNote: Except for Linux, where this would constitute a breaking change in previous behavior and lead to both invalid executable names and Desktop files. Ref comments in: https://github.com/electron-userland/electron-builder/pull/9068",
|
|
2826
2858
|
"type": [
|
|
@@ -2948,21 +2980,11 @@
|
|
|
2948
2980
|
"description": "Whether to fail if app will be not code signed.",
|
|
2949
2981
|
"type": "boolean"
|
|
2950
2982
|
},
|
|
2951
|
-
"gatekeeperAssess": {
|
|
2952
|
-
"default": false,
|
|
2953
|
-
"description": "Whether to let `@electron/osx-sign` validate the signing or not.",
|
|
2954
|
-
"type": "boolean"
|
|
2955
|
-
},
|
|
2956
2983
|
"generateUpdatesFilesForAllChannels": {
|
|
2957
2984
|
"default": false,
|
|
2958
2985
|
"description": "Please see [Building and Releasing using Channels](https://github.com/electron-userland/electron-builder/issues/1182#issuecomment-324947139).",
|
|
2959
2986
|
"type": "boolean"
|
|
2960
2987
|
},
|
|
2961
|
-
"hardenedRuntime": {
|
|
2962
|
-
"default": true,
|
|
2963
|
-
"description": "Whether your app has to be signed with hardened runtime.\n\nWhen using ad-hoc signing (`identity: \"-\"`), hardened runtime enforces library validation which\nwill reject pre-signed Electron frameworks that carry a different Team ID. To resolve this either\nset `hardenedRuntime: false` or add the\n[`com.apple.security.cs.disable-library-validation`](https://developer.apple.com/documentation/BundleResources/Entitlements/com.apple.security.cs.disable-library-validation)\nentitlement to your entitlements file.",
|
|
2964
|
-
"type": "boolean"
|
|
2965
|
-
},
|
|
2966
2988
|
"helperBundleId": {
|
|
2967
2989
|
"default": "${appBundleIdentifier}.helper",
|
|
2968
2990
|
"description": "The bundle identifier to use in the application helper's plist.",
|
|
@@ -3019,18 +3041,6 @@
|
|
|
3019
3041
|
"string"
|
|
3020
3042
|
]
|
|
3021
3043
|
},
|
|
3022
|
-
"identity": {
|
|
3023
|
-
"description": "The signing identity (certificate name) to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](https://www.electron.build/code-signing) instead of specifying this option.\nMAS installer identity is specified in the [mas](https://www.electron.build/mas).\n\n- **Not set** (default): electron-builder searches the keychain for a valid signing certificate. If none is found, signing is skipped for all architectures — there is no automatic ad-hoc fallback.\n- **`null`**: skip signing entirely.\n- **`\"-\"`**: opt in to ad-hoc signing explicitly. Note that `hardenedRuntime: true` (the default) combined with ad-hoc signing requires\n the [`com.apple.security.cs.disable-library-validation`](https://developer.apple.com/documentation/BundleResources/Entitlements/com.apple.security.cs.disable-library-validation)\n entitlement to prevent app launch failures; otherwise set `hardenedRuntime: false`.",
|
|
3024
|
-
"type": [
|
|
3025
|
-
"null",
|
|
3026
|
-
"string"
|
|
3027
|
-
]
|
|
3028
|
-
},
|
|
3029
|
-
"mergeASARs": {
|
|
3030
|
-
"default": true,
|
|
3031
|
-
"description": "Whether to merge ASAR files for different architectures or not.\n\nThis option has no effect unless building for \"universal\" arch.",
|
|
3032
|
-
"type": "boolean"
|
|
3033
|
-
},
|
|
3034
3044
|
"minimumSystemVersion": {
|
|
3035
3045
|
"description": "The minimum version of macOS required for the app to run. Corresponds to `LSMinimumSystemVersion`.",
|
|
3036
3046
|
"type": [
|
|
@@ -3042,11 +3052,6 @@
|
|
|
3042
3052
|
"description": "Whether to disable electron-builder's [@electron/notarize](https://github.com/electron/notarize) integration.\n\nNote: In order to activate the notarization step You MUST specify one of the following via environment variables:\n\n1. `APPLE_API_KEY`, `APPLE_API_KEY_ID` and `APPLE_API_ISSUER`.\n2. `APPLE_ID`, `APPLE_APP_SPECIFIC_PASSWORD`, and `APPLE_TEAM_ID`\n3. `APPLE_KEYCHAIN` and `APPLE_KEYCHAIN_PROFILE`\n\nFor security reasons it is recommended to use the first option (see https://github.com/electron-userland/electron-builder/issues/7859)",
|
|
3043
3053
|
"type": "boolean"
|
|
3044
3054
|
},
|
|
3045
|
-
"preAutoEntitlements": {
|
|
3046
|
-
"default": true,
|
|
3047
|
-
"description": "Whether to enable entitlements automation from `@electron/osx-sign`.",
|
|
3048
|
-
"type": "boolean"
|
|
3049
|
-
},
|
|
3050
3055
|
"protocols": {
|
|
3051
3056
|
"anyOf": [
|
|
3052
3057
|
{
|
|
@@ -3061,13 +3066,6 @@
|
|
|
3061
3066
|
],
|
|
3062
3067
|
"description": "The URL protocol schemes."
|
|
3063
3068
|
},
|
|
3064
|
-
"provisioningProfile": {
|
|
3065
|
-
"description": "The path to the provisioning profile to use when signing, absolute or relative to the app root.",
|
|
3066
|
-
"type": [
|
|
3067
|
-
"null",
|
|
3068
|
-
"string"
|
|
3069
|
-
]
|
|
3070
|
-
},
|
|
3071
3069
|
"publish": {
|
|
3072
3070
|
"anyOf": [
|
|
3073
3071
|
{
|
|
@@ -3116,15 +3114,11 @@
|
|
|
3116
3114
|
"$ref": "#/definitions/ReleaseInfo",
|
|
3117
3115
|
"description": "The release info. Intended for command line usage:\n\n```\n-c.releaseInfo.releaseNotes=\"new features\"\n```"
|
|
3118
3116
|
},
|
|
3119
|
-
"requirements": {
|
|
3120
|
-
"description": "Path of [requirements file](https://developer.apple.com/library/mac/documentation/Security/Conceptual/CodeSigningGuide/RequirementLang/RequirementLang.html) used in signing. Not applicable for MAS.",
|
|
3121
|
-
"type": [
|
|
3122
|
-
"null",
|
|
3123
|
-
"string"
|
|
3124
|
-
]
|
|
3125
|
-
},
|
|
3126
3117
|
"sign": {
|
|
3127
3118
|
"anyOf": [
|
|
3119
|
+
{
|
|
3120
|
+
"$ref": "#/definitions/ElectronSignOptions"
|
|
3121
|
+
},
|
|
3128
3122
|
{
|
|
3129
3123
|
"typeof": "function"
|
|
3130
3124
|
},
|
|
@@ -3135,41 +3129,12 @@
|
|
|
3135
3129
|
]
|
|
3136
3130
|
}
|
|
3137
3131
|
],
|
|
3138
|
-
"description": "The
|
|
3132
|
+
"description": "Codesigning configuration. The signing certificate is selected via `sign.identity` (or the\n`CSC_LINK` / `CSC_NAME` environment variables).\n\n- **Not set** (default): electron-builder auto-discovers a valid certificate in the keychain. If none is found, signing is skipped.\n- **`null`**: skip signing entirely.\n- **`string`**: path or module ID of a file that exports a {@link CustomMacSign} function.\n- **{@link CustomMacSign}**: inline custom signing function (JS/TS config only).\n- **{@link ElectronSignOptions}**: options forwarded directly to `@electron/osx-sign`."
|
|
3139
3133
|
},
|
|
3140
|
-
"
|
|
3134
|
+
"target": {
|
|
3141
3135
|
"anyOf": [
|
|
3142
3136
|
{
|
|
3143
|
-
"
|
|
3144
|
-
"type": "string"
|
|
3145
|
-
},
|
|
3146
|
-
"type": "array"
|
|
3147
|
-
},
|
|
3148
|
-
{
|
|
3149
|
-
"type": [
|
|
3150
|
-
"null",
|
|
3151
|
-
"string"
|
|
3152
|
-
]
|
|
3153
|
-
}
|
|
3154
|
-
],
|
|
3155
|
-
"description": "Regex or an array of regex's that signal skipping signing a file."
|
|
3156
|
-
},
|
|
3157
|
-
"singleArchFiles": {
|
|
3158
|
-
"description": "Minimatch pattern of paths that are allowed to be present in one of the\nASAR files, but not in the other.\n\nThis option has no effect unless building for \"universal\" arch and applies\nonly if `mergeASARs` is `true`.",
|
|
3159
|
-
"type": [
|
|
3160
|
-
"null",
|
|
3161
|
-
"string"
|
|
3162
|
-
]
|
|
3163
|
-
},
|
|
3164
|
-
"strictVerify": {
|
|
3165
|
-
"default": true,
|
|
3166
|
-
"description": "Whether to let `@electron/osx-sign` verify the contents or not.",
|
|
3167
|
-
"type": "boolean"
|
|
3168
|
-
},
|
|
3169
|
-
"target": {
|
|
3170
|
-
"anyOf": [
|
|
3171
|
-
{
|
|
3172
|
-
"$ref": "#/definitions/TargetConfiguration"
|
|
3137
|
+
"$ref": "#/definitions/TargetConfiguration"
|
|
3173
3138
|
},
|
|
3174
3139
|
{
|
|
3175
3140
|
"items": {
|
|
@@ -3222,35 +3187,16 @@
|
|
|
3222
3187
|
"default": "default (dmg and zip for Squirrel.Mac)",
|
|
3223
3188
|
"description": "The target package type: list of `default`, `dmg`, `mas`, `mas-dev`, `pkg`, `7z`, `zip`, `tar.xz`, `tar.lz`, `tar.gz`, `tar.bz2`, `dir`.\nNote: Squirrel.Mac auto update mechanism requires both `dmg` and `zip` to be enabled, even when only `dmg` is used. Disabling `zip` will break auto update in `dmg` packages."
|
|
3224
3189
|
},
|
|
3225
|
-
"
|
|
3226
|
-
"description": "Specify the URL of the timestamp authority server",
|
|
3227
|
-
"type": [
|
|
3228
|
-
"null",
|
|
3229
|
-
"string"
|
|
3230
|
-
]
|
|
3231
|
-
},
|
|
3232
|
-
"type": {
|
|
3190
|
+
"universal": {
|
|
3233
3191
|
"anyOf": [
|
|
3234
3192
|
{
|
|
3235
|
-
"
|
|
3236
|
-
"development",
|
|
3237
|
-
"distribution"
|
|
3238
|
-
],
|
|
3239
|
-
"type": "string"
|
|
3193
|
+
"$ref": "#/definitions/ElectronUniversalOptions"
|
|
3240
3194
|
},
|
|
3241
3195
|
{
|
|
3242
3196
|
"type": "null"
|
|
3243
3197
|
}
|
|
3244
3198
|
],
|
|
3245
|
-
"
|
|
3246
|
-
"description": "Whether to sign app for development or for distribution."
|
|
3247
|
-
},
|
|
3248
|
-
"x64ArchFiles": {
|
|
3249
|
-
"description": "Minimatch pattern of paths that are allowed to be x64 binaries in both\nASAR files\n\nThis option has no effect unless building for \"universal\" arch and applies\nonly if `mergeASARs` is `true`.",
|
|
3250
|
-
"type": [
|
|
3251
|
-
"null",
|
|
3252
|
-
"string"
|
|
3253
|
-
]
|
|
3199
|
+
"description": "Options forwarded to `@electron/universal` when building a universal (multi-arch) app.\nHas no effect unless the target arch is `universal`."
|
|
3254
3200
|
}
|
|
3255
3201
|
},
|
|
3256
3202
|
"type": "object"
|
|
@@ -3258,20 +3204,6 @@
|
|
|
3258
3204
|
"MasConfiguration": {
|
|
3259
3205
|
"additionalProperties": false,
|
|
3260
3206
|
"properties": {
|
|
3261
|
-
"additionalArguments": {
|
|
3262
|
-
"anyOf": [
|
|
3263
|
-
{
|
|
3264
|
-
"items": {
|
|
3265
|
-
"type": "string"
|
|
3266
|
-
},
|
|
3267
|
-
"type": "array"
|
|
3268
|
-
},
|
|
3269
|
-
{
|
|
3270
|
-
"type": "null"
|
|
3271
|
-
}
|
|
3272
|
-
],
|
|
3273
|
-
"description": "Array of strings specifying additional arguments to pass to the `codesign` command used to sign a specific file.\n\nSome subresources that you may include in your Electron app may need to be signed with --deep, this is not typically safe to apply to the entire Electron app and therefore should be applied to just your file.\nUsage Example: `['--deep']`"
|
|
3274
|
-
},
|
|
3275
3207
|
"appId": {
|
|
3276
3208
|
"default": "com.electron.${name}",
|
|
3277
3209
|
"description": "The application id. Used as [CFBundleIdentifier](https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102070) for MacOS and as\n[Application User Model ID](https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx) for Windows (NSIS target only, Squirrel.Windows not supported). It is strongly recommended that an explicit ID is set.",
|
|
@@ -3293,30 +3225,15 @@
|
|
|
3293
3225
|
"$ref": "#/definitions/AsarOptions"
|
|
3294
3226
|
},
|
|
3295
3227
|
{
|
|
3296
|
-
"
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
"type": "null"
|
|
3228
|
+
"type": [
|
|
3229
|
+
"null",
|
|
3230
|
+
"boolean"
|
|
3231
|
+
]
|
|
3301
3232
|
}
|
|
3302
3233
|
],
|
|
3303
3234
|
"default": true,
|
|
3304
3235
|
"description": "Whether to package the application's source code into an archive, using [Electron's archive format](http://electron.atom.io/docs/tutorial/application-packaging/).\n\nNode modules that must be unpacked will be detected automatically. Use {@link AsarOptions.unpack} to specify additional files to unpack."
|
|
3305
3236
|
},
|
|
3306
|
-
"binaries": {
|
|
3307
|
-
"anyOf": [
|
|
3308
|
-
{
|
|
3309
|
-
"items": {
|
|
3310
|
-
"type": "string"
|
|
3311
|
-
},
|
|
3312
|
-
"type": "array"
|
|
3313
|
-
},
|
|
3314
|
-
{
|
|
3315
|
-
"type": "null"
|
|
3316
|
-
}
|
|
3317
|
-
],
|
|
3318
|
-
"description": "Paths of any extra binaries that need to be signed."
|
|
3319
|
-
},
|
|
3320
3237
|
"bundleShortVersion": {
|
|
3321
3238
|
"description": "The `CFBundleShortVersionString`. Do not use it unless you need to.",
|
|
3322
3239
|
"type": [
|
|
@@ -3422,27 +3339,6 @@
|
|
|
3422
3339
|
"string"
|
|
3423
3340
|
]
|
|
3424
3341
|
},
|
|
3425
|
-
"entitlements": {
|
|
3426
|
-
"description": "The path to entitlements file for signing the app. `build/entitlements.mas.plist` will be used if exists (it is a recommended way to set).\nSee [this folder in osx-sign's repository](https://github.com/electron/osx-sign/tree/main/entitlements) for examples.\nBe aware that your app may crash if the right entitlements are not set like `com.apple.security.cs.allow-jit` for example on arm64 builds with Electron 20+.\nSee [Signing and Notarizing macOS Builds from the Electron documentation](https://www.electronjs.org/docs/latest/tutorial/code-signing#signing--notarizing-macos-builds) for more information.",
|
|
3427
|
-
"type": [
|
|
3428
|
-
"null",
|
|
3429
|
-
"string"
|
|
3430
|
-
]
|
|
3431
|
-
},
|
|
3432
|
-
"entitlementsInherit": {
|
|
3433
|
-
"description": "The path to child entitlements which inherit the security settings for signing frameworks and bundles of a distribution. `build/entitlements.mas.inherit.plist` will be used if exists (it is a recommended way to set).\nSee [this folder in osx-sign's repository](https://github.com/electron/osx-sign/tree/main/entitlements) for examples.",
|
|
3434
|
-
"type": [
|
|
3435
|
-
"null",
|
|
3436
|
-
"string"
|
|
3437
|
-
]
|
|
3438
|
-
},
|
|
3439
|
-
"entitlementsLoginHelper": {
|
|
3440
|
-
"description": "Path to login helper entitlement file.\nWhen using App Sandbox, the the `com.apple.security.inherit` key that is normally in the inherited entitlements cannot be inherited since the login helper is a standalone executable.\nDefaults to the value provided for `entitlements`. This option only applies when signing with `entitlements` provided.",
|
|
3441
|
-
"type": [
|
|
3442
|
-
"null",
|
|
3443
|
-
"string"
|
|
3444
|
-
]
|
|
3445
|
-
},
|
|
3446
3342
|
"executableName": {
|
|
3447
3343
|
"description": "The executable name. Defaults to `productName`\nNote: Except for Linux, where this would constitute a breaking change in previous behavior and lead to both invalid executable names and Desktop files. Ref comments in: https://github.com/electron-userland/electron-builder/pull/9068",
|
|
3448
3344
|
"type": [
|
|
@@ -3570,21 +3466,11 @@
|
|
|
3570
3466
|
"description": "Whether to fail if app will be not code signed.",
|
|
3571
3467
|
"type": "boolean"
|
|
3572
3468
|
},
|
|
3573
|
-
"gatekeeperAssess": {
|
|
3574
|
-
"default": false,
|
|
3575
|
-
"description": "Whether to let `@electron/osx-sign` validate the signing or not.",
|
|
3576
|
-
"type": "boolean"
|
|
3577
|
-
},
|
|
3578
3469
|
"generateUpdatesFilesForAllChannels": {
|
|
3579
3470
|
"default": false,
|
|
3580
3471
|
"description": "Please see [Building and Releasing using Channels](https://github.com/electron-userland/electron-builder/issues/1182#issuecomment-324947139).",
|
|
3581
3472
|
"type": "boolean"
|
|
3582
3473
|
},
|
|
3583
|
-
"hardenedRuntime": {
|
|
3584
|
-
"default": true,
|
|
3585
|
-
"description": "Whether your app has to be signed with hardened runtime.\n\nWhen using ad-hoc signing (`identity: \"-\"`), hardened runtime enforces library validation which\nwill reject pre-signed Electron frameworks that carry a different Team ID. To resolve this either\nset `hardenedRuntime: false` or add the\n[`com.apple.security.cs.disable-library-validation`](https://developer.apple.com/documentation/BundleResources/Entitlements/com.apple.security.cs.disable-library-validation)\nentitlement to your entitlements file.",
|
|
3586
|
-
"type": "boolean"
|
|
3587
|
-
},
|
|
3588
3474
|
"helperBundleId": {
|
|
3589
3475
|
"default": "${appBundleIdentifier}.helper",
|
|
3590
3476
|
"description": "The bundle identifier to use in the application helper's plist.",
|
|
@@ -3641,18 +3527,6 @@
|
|
|
3641
3527
|
"string"
|
|
3642
3528
|
]
|
|
3643
3529
|
},
|
|
3644
|
-
"identity": {
|
|
3645
|
-
"description": "The signing identity (certificate name) to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](https://www.electron.build/code-signing) instead of specifying this option.\nMAS installer identity is specified in the [mas](https://www.electron.build/mas).\n\n- **Not set** (default): electron-builder searches the keychain for a valid signing certificate. If none is found, signing is skipped for all architectures — there is no automatic ad-hoc fallback.\n- **`null`**: skip signing entirely.\n- **`\"-\"`**: opt in to ad-hoc signing explicitly. Note that `hardenedRuntime: true` (the default) combined with ad-hoc signing requires\n the [`com.apple.security.cs.disable-library-validation`](https://developer.apple.com/documentation/BundleResources/Entitlements/com.apple.security.cs.disable-library-validation)\n entitlement to prevent app launch failures; otherwise set `hardenedRuntime: false`.",
|
|
3646
|
-
"type": [
|
|
3647
|
-
"null",
|
|
3648
|
-
"string"
|
|
3649
|
-
]
|
|
3650
|
-
},
|
|
3651
|
-
"mergeASARs": {
|
|
3652
|
-
"default": true,
|
|
3653
|
-
"description": "Whether to merge ASAR files for different architectures or not.\n\nThis option has no effect unless building for \"universal\" arch.",
|
|
3654
|
-
"type": "boolean"
|
|
3655
|
-
},
|
|
3656
3530
|
"minimumSystemVersion": {
|
|
3657
3531
|
"description": "The minimum version of macOS required for the app to run. Corresponds to `LSMinimumSystemVersion`.",
|
|
3658
3532
|
"type": [
|
|
@@ -3664,11 +3538,6 @@
|
|
|
3664
3538
|
"description": "Whether to disable electron-builder's [@electron/notarize](https://github.com/electron/notarize) integration.\n\nNote: In order to activate the notarization step You MUST specify one of the following via environment variables:\n\n1. `APPLE_API_KEY`, `APPLE_API_KEY_ID` and `APPLE_API_ISSUER`.\n2. `APPLE_ID`, `APPLE_APP_SPECIFIC_PASSWORD`, and `APPLE_TEAM_ID`\n3. `APPLE_KEYCHAIN` and `APPLE_KEYCHAIN_PROFILE`\n\nFor security reasons it is recommended to use the first option (see https://github.com/electron-userland/electron-builder/issues/7859)",
|
|
3665
3539
|
"type": "boolean"
|
|
3666
3540
|
},
|
|
3667
|
-
"preAutoEntitlements": {
|
|
3668
|
-
"default": true,
|
|
3669
|
-
"description": "Whether to enable entitlements automation from `@electron/osx-sign`.",
|
|
3670
|
-
"type": "boolean"
|
|
3671
|
-
},
|
|
3672
3541
|
"protocols": {
|
|
3673
3542
|
"anyOf": [
|
|
3674
3543
|
{
|
|
@@ -3683,13 +3552,6 @@
|
|
|
3683
3552
|
],
|
|
3684
3553
|
"description": "The URL protocol schemes."
|
|
3685
3554
|
},
|
|
3686
|
-
"provisioningProfile": {
|
|
3687
|
-
"description": "The path to the provisioning profile to use when signing, absolute or relative to the app root.",
|
|
3688
|
-
"type": [
|
|
3689
|
-
"null",
|
|
3690
|
-
"string"
|
|
3691
|
-
]
|
|
3692
|
-
},
|
|
3693
3555
|
"publish": {
|
|
3694
3556
|
"anyOf": [
|
|
3695
3557
|
{
|
|
@@ -3738,34 +3600,13 @@
|
|
|
3738
3600
|
"$ref": "#/definitions/ReleaseInfo",
|
|
3739
3601
|
"description": "The release info. Intended for command line usage:\n\n```\n-c.releaseInfo.releaseNotes=\"new features\"\n```"
|
|
3740
3602
|
},
|
|
3741
|
-
"requirements": {
|
|
3742
|
-
"description": "Path of [requirements file](https://developer.apple.com/library/mac/documentation/Security/Conceptual/CodeSigningGuide/RequirementLang/RequirementLang.html) used in signing. Not applicable for MAS.",
|
|
3743
|
-
"type": [
|
|
3744
|
-
"null",
|
|
3745
|
-
"string"
|
|
3746
|
-
]
|
|
3747
|
-
},
|
|
3748
3603
|
"sign": {
|
|
3749
3604
|
"anyOf": [
|
|
3750
3605
|
{
|
|
3751
|
-
"
|
|
3606
|
+
"$ref": "#/definitions/ElectronSignOptions"
|
|
3752
3607
|
},
|
|
3753
3608
|
{
|
|
3754
|
-
"
|
|
3755
|
-
"null",
|
|
3756
|
-
"string"
|
|
3757
|
-
]
|
|
3758
|
-
}
|
|
3759
|
-
],
|
|
3760
|
-
"description": "The custom function (or path to file or module id) to sign an app bundle."
|
|
3761
|
-
},
|
|
3762
|
-
"signIgnore": {
|
|
3763
|
-
"anyOf": [
|
|
3764
|
-
{
|
|
3765
|
-
"items": {
|
|
3766
|
-
"type": "string"
|
|
3767
|
-
},
|
|
3768
|
-
"type": "array"
|
|
3609
|
+
"typeof": "function"
|
|
3769
3610
|
},
|
|
3770
3611
|
{
|
|
3771
3612
|
"type": [
|
|
@@ -3774,19 +3615,7 @@
|
|
|
3774
3615
|
]
|
|
3775
3616
|
}
|
|
3776
3617
|
],
|
|
3777
|
-
"description": "
|
|
3778
|
-
},
|
|
3779
|
-
"singleArchFiles": {
|
|
3780
|
-
"description": "Minimatch pattern of paths that are allowed to be present in one of the\nASAR files, but not in the other.\n\nThis option has no effect unless building for \"universal\" arch and applies\nonly if `mergeASARs` is `true`.",
|
|
3781
|
-
"type": [
|
|
3782
|
-
"null",
|
|
3783
|
-
"string"
|
|
3784
|
-
]
|
|
3785
|
-
},
|
|
3786
|
-
"strictVerify": {
|
|
3787
|
-
"default": true,
|
|
3788
|
-
"description": "Whether to let `@electron/osx-sign` verify the contents or not.",
|
|
3789
|
-
"type": "boolean"
|
|
3618
|
+
"description": "Codesigning configuration. The signing certificate is selected via `sign.identity` (or the\n`CSC_LINK` / `CSC_NAME` environment variables).\n\n- **Not set** (default): electron-builder auto-discovers a valid certificate in the keychain. If none is found, signing is skipped.\n- **`null`**: skip signing entirely.\n- **`string`**: path or module ID of a file that exports a {@link CustomMacSign} function.\n- **{@link CustomMacSign}**: inline custom signing function (JS/TS config only).\n- **{@link ElectronSignOptions}**: options forwarded directly to `@electron/osx-sign`."
|
|
3790
3619
|
},
|
|
3791
3620
|
"target": {
|
|
3792
3621
|
"anyOf": [
|
|
@@ -3844,35 +3673,16 @@
|
|
|
3844
3673
|
"default": "default (dmg and zip for Squirrel.Mac)",
|
|
3845
3674
|
"description": "The target package type: list of `default`, `dmg`, `mas`, `mas-dev`, `pkg`, `7z`, `zip`, `tar.xz`, `tar.lz`, `tar.gz`, `tar.bz2`, `dir`.\nNote: Squirrel.Mac auto update mechanism requires both `dmg` and `zip` to be enabled, even when only `dmg` is used. Disabling `zip` will break auto update in `dmg` packages."
|
|
3846
3675
|
},
|
|
3847
|
-
"
|
|
3848
|
-
"description": "Specify the URL of the timestamp authority server",
|
|
3849
|
-
"type": [
|
|
3850
|
-
"null",
|
|
3851
|
-
"string"
|
|
3852
|
-
]
|
|
3853
|
-
},
|
|
3854
|
-
"type": {
|
|
3676
|
+
"universal": {
|
|
3855
3677
|
"anyOf": [
|
|
3856
3678
|
{
|
|
3857
|
-
"
|
|
3858
|
-
"development",
|
|
3859
|
-
"distribution"
|
|
3860
|
-
],
|
|
3861
|
-
"type": "string"
|
|
3679
|
+
"$ref": "#/definitions/ElectronUniversalOptions"
|
|
3862
3680
|
},
|
|
3863
3681
|
{
|
|
3864
3682
|
"type": "null"
|
|
3865
3683
|
}
|
|
3866
3684
|
],
|
|
3867
|
-
"
|
|
3868
|
-
"description": "Whether to sign app for development or for distribution."
|
|
3869
|
-
},
|
|
3870
|
-
"x64ArchFiles": {
|
|
3871
|
-
"description": "Minimatch pattern of paths that are allowed to be x64 binaries in both\nASAR files\n\nThis option has no effect unless building for \"universal\" arch and applies\nonly if `mergeASARs` is `true`.",
|
|
3872
|
-
"type": [
|
|
3873
|
-
"null",
|
|
3874
|
-
"string"
|
|
3875
|
-
]
|
|
3685
|
+
"description": "Options forwarded to `@electron/universal` when building a universal (multi-arch) app.\nHas no effect unless the target arch is `universal`."
|
|
3876
3686
|
}
|
|
3877
3687
|
},
|
|
3878
3688
|
"type": "object"
|
|
@@ -4918,6 +4728,24 @@
|
|
|
4918
4728
|
},
|
|
4919
4729
|
"type": "object"
|
|
4920
4730
|
},
|
|
4731
|
+
"Omit<MirrorOptions,\"customFilename\"|\"customDir\"|\"customVersion\">": {
|
|
4732
|
+
"additionalProperties": false,
|
|
4733
|
+
"properties": {
|
|
4734
|
+
"mirror": {
|
|
4735
|
+
"description": "The base URL of the mirror to download from.\ne.g https://github.com/electron/electron/releases/download",
|
|
4736
|
+
"type": "string"
|
|
4737
|
+
},
|
|
4738
|
+
"nightlyMirror": {
|
|
4739
|
+
"description": "The mirror URL for [`electron-nightly`](https://npmjs.com/package/electron-nightly),\nwhich lives in a separate npm package.",
|
|
4740
|
+
"type": "string"
|
|
4741
|
+
},
|
|
4742
|
+
"resolveAssetURL": {
|
|
4743
|
+
"description": "A function allowing customization of the url returned\nfrom getArtifactRemoteURL().",
|
|
4744
|
+
"typeof": "function"
|
|
4745
|
+
}
|
|
4746
|
+
},
|
|
4747
|
+
"type": "object"
|
|
4748
|
+
},
|
|
4921
4749
|
"OutgoingHttpHeaders": {
|
|
4922
4750
|
"additionalProperties": {
|
|
4923
4751
|
"anyOf": [
|
|
@@ -7954,7 +7782,7 @@
|
|
|
7954
7782
|
}
|
|
7955
7783
|
],
|
|
7956
7784
|
"default": "1.0.3",
|
|
7957
|
-
"description": "Version of the AppImage toolset bundle used for building `.AppImage` files.\n\nThe bundle ships:\n- **`mksquashfs`** — creates the SquashFS filesystem embedded in the AppImage.\n- **`desktop-file-validate`** — validates the generated `.desktop` entry.\n- **AppImage runtime** — the self-executing stub that mounts the SquashFS at launch.\n\nAvailable versions:\n| Version | Runtime date | Notes |\n|---------|-------------|-------|\n| `\"0.0.0\"` | Legacy | FUSE2-based AppImage runtime (pre-v27 default) |\n| `\"1.0.2\"` | 20251108 | Static-runtime (FUSE3-compatible) |\n| `\"1.0.3\"` | 20251108 | Static-runtime (FUSE3-compatible); recommended (default) |\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/
|
|
7785
|
+
"description": "Version of the AppImage toolset bundle used for building `.AppImage` files.\n\nThe bundle ships:\n- **`mksquashfs`** — creates the SquashFS filesystem embedded in the AppImage.\n- **`desktop-file-validate`** — validates the generated `.desktop` entry.\n- **AppImage runtime** — the self-executing stub that mounts the SquashFS at launch.\n\nAvailable versions:\n| Version | Runtime date | Notes |\n|---------|-------------|-------|\n| `\"0.0.0\"` | Legacy | FUSE2-based AppImage runtime (pre-v27 default) |\n| `\"1.0.2\"` | 20251108 | Static-runtime (FUSE3-compatible) |\n| `\"1.0.3\"` | 20251108 | Static-runtime (FUSE3-compatible); recommended (default) |\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/appimage/CHANGELOG.md"
|
|
7958
7786
|
},
|
|
7959
7787
|
"fpm": {
|
|
7960
7788
|
"anyOf": [
|
|
@@ -7970,7 +7798,7 @@
|
|
|
7970
7798
|
}
|
|
7971
7799
|
],
|
|
7972
7800
|
"default": "2.2.1",
|
|
7973
|
-
"description": "Version of the FPM bundle used to build Linux packages (`.deb`, `.rpm`, `.pacman`, etc.)\non macOS and Linux hosts.\n\nAvailable versions:\n| Version | FPM version | Notes |\n|---------|------------|-------|\n| `\"2.2.1\"` | 1.17.0 (Ruby 3.4.3) | Current default |\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/
|
|
7801
|
+
"description": "Version of the FPM bundle used to build Linux packages (`.deb`, `.rpm`, `.pacman`, etc.)\non macOS and Linux hosts.\n\nAvailable versions:\n| Version | FPM version | Notes |\n|---------|------------|-------|\n| `\"2.2.1\"` | 1.17.0 (Ruby 3.4.3) | Current default |\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/fpm/CHANGELOG.md"
|
|
7974
7802
|
},
|
|
7975
7803
|
"icons": {
|
|
7976
7804
|
"anyOf": [
|
|
@@ -7986,7 +7814,7 @@
|
|
|
7986
7814
|
}
|
|
7987
7815
|
],
|
|
7988
7816
|
"default": "1.1.0",
|
|
7989
|
-
"description": "Version of the icons-conversion bundle used to convert source images to `.icns`, `.ico`,\nand PNG icon sets.\n\nSet to a {@link ToolsetCustom} object to supply your own icons bundle directory.\n\nAvailable versions:\n| Version | Notes |\n|---------|-------|\n| `\"1.1.0\"` | Current default |\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/
|
|
7817
|
+
"description": "Version of the icons-conversion bundle used to convert source images to `.icns`, `.ico`,\nand PNG icon sets.\n\nSet to a {@link ToolsetCustom} object to supply your own icons bundle directory.\n\nAvailable versions:\n| Version | Notes |\n|---------|-------|\n| `\"1.1.0\"` | Current default |\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/icons/CHANGELOG.md"
|
|
7990
7818
|
},
|
|
7991
7819
|
"linuxToolsMac": {
|
|
7992
7820
|
"anyOf": [
|
|
@@ -8002,7 +7830,7 @@
|
|
|
8002
7830
|
}
|
|
8003
7831
|
],
|
|
8004
7832
|
"default": "1.0.0",
|
|
8005
|
-
"description": "Version of the Linux-tools-mac bundle used to produce `.tar.lz` archives and build\nLinux targets on macOS hosts.\n\nThe bundle ships macOS-native builds of `ar`, `lzip`, and `gtar` (GNU tar).\n\nAvailable versions:\n| Version | Notes |\n|---------|-------|\n| `\"1.0.0\"` | Current default |\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/
|
|
7833
|
+
"description": "Version of the Linux-tools-mac bundle used to produce `.tar.lz` archives and build\nLinux targets on macOS hosts.\n\nThe bundle ships macOS-native builds of `ar`, `lzip`, and `gtar` (GNU tar).\n\nAvailable versions:\n| Version | Notes |\n|---------|-------|\n| `\"1.0.0\"` | Current default |\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/linux-tools-mac/CHANGELOG.md"
|
|
8006
7834
|
},
|
|
8007
7835
|
"nsis": {
|
|
8008
7836
|
"anyOf": [
|
|
@@ -8021,7 +7849,7 @@
|
|
|
8021
7849
|
}
|
|
8022
7850
|
],
|
|
8023
7851
|
"default": "1.2.1",
|
|
8024
|
-
"description": "Version of the NSIS toolset bundle used to compile Windows installers.\n\nThe bundle ships:\n- **`makensis`** — the NSIS compiler invoked to build `.nsi` scripts into `.exe` installers.\n- **NSIS plugins** — the plugin DLLs (`NsisMultiUser`, `UAC`, `StdUtils`, etc.) referenced by\n electron-builder's default installer scripts.\n- **`elevate.exe`** — UAC elevation helper included in NSIS installers.\n\nAvailable versions:\n| Version | `makensis` version | Notes |\n|---------|------------------|-------|\n| `\"0.0.0\"` | 3.0.4.1 | Legacy split bundle — `nsis` + `nsis-resources` archives (pre-v27 default) |\n| `\"1.2.1\"` | 3.12 | Unified bundle — single archive, entrypoint scripts auto-set `NSISDIR` (default) |\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/
|
|
7852
|
+
"description": "Version of the NSIS toolset bundle used to compile Windows installers.\n\nThe bundle ships:\n- **`makensis`** — the NSIS compiler invoked to build `.nsi` scripts into `.exe` installers.\n- **NSIS plugins** — the plugin DLLs (`NsisMultiUser`, `UAC`, `StdUtils`, etc.) referenced by\n electron-builder's default installer scripts.\n- **`elevate.exe`** — UAC elevation helper included in NSIS installers.\n\nAvailable versions:\n| Version | `makensis` version | Notes |\n|---------|------------------|-------|\n| `\"0.0.0\"` | 3.0.4.1 | Legacy split bundle — `nsis` + `nsis-resources` archives (pre-v27 default) |\n| `\"1.2.1\"` | 3.12 | Unified bundle — single archive, entrypoint scripts auto-set `NSISDIR` (default) |\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/nsis/CHANGELOG.md"
|
|
8025
7853
|
},
|
|
8026
7854
|
"sevenZip": {
|
|
8027
7855
|
"anyOf": [
|
|
@@ -8048,7 +7876,10 @@
|
|
|
8048
7876
|
"enum": [
|
|
8049
7877
|
"0.0.0",
|
|
8050
7878
|
"1.0.0",
|
|
8051
|
-
"1.1.0"
|
|
7879
|
+
"1.1.0",
|
|
7880
|
+
"1.1.1",
|
|
7881
|
+
"1.2.1",
|
|
7882
|
+
"1.3.0"
|
|
8052
7883
|
],
|
|
8053
7884
|
"type": "string"
|
|
8054
7885
|
},
|
|
@@ -8057,7 +7888,7 @@
|
|
|
8057
7888
|
}
|
|
8058
7889
|
],
|
|
8059
7890
|
"default": "1.1.0",
|
|
8060
|
-
"description": "Version of the `win-codesign` bundle used for Windows code signing and resource editing.\n\nThe bundle ships:\n- **`signtool.exe`** (Windows) / **`osslsigncode`** (macOS & Linux) — used to sign `.exe`,\n `.dll`, and `.msix` artifacts.\n- **`rcedit`** — used to embed version metadata and icons into `.exe` files.\n- **Windows Kits** (`10.0.26100.0`) — used by AppX/MSIX packaging (`makeappx`, `signtool`).\n\nAvailable versions:\n| Version | Contents |\n|---------|----------|\n| `\"0.0.0\"` | Legacy bundle — `winCodeSign-2.6.0` (pre-v27 default) |\n| `\"1.0.0\"` | Modern bundle — Windows Kits 10.0.26100.0, `win-codesign` v1.0.0 |\n| `\"1.1.0\"` | Modern bundle — Windows Kits 10.0.26100.0, `win-codesign` v1.1.0 (
|
|
7891
|
+
"description": "Version of the `win-codesign` bundle used for Windows code signing and resource editing.\n\nThe bundle ships:\n- **`signtool.exe`** (Windows) / **`osslsigncode`** (macOS & Linux) — used to sign `.exe`,\n `.dll`, and `.msix` artifacts.\n- **`rcedit`** — used to embed version metadata and icons into `.exe` files.\n- **Windows Kits** (`10.0.26100.0`) — used by AppX/MSIX packaging (`makeappx`, `signtool`).\n\nAvailable versions:\n| Version | Contents |\n|---------|----------|\n| `\"0.0.0\"` | Legacy bundle — `winCodeSign-2.6.0` (pre-v27 default) |\n| `\"1.0.0\"` | Modern bundle — Windows Kits 10.0.26100.0, `win-codesign` v1.0.0 |\n| `\"1.1.0\"` | Modern bundle — Windows Kits 10.0.26100.0, `win-codesign` v1.1.0 |\n| `\"1.1.1\"` | Modern bundle — Windows Kits 10.0.26100.0, `win-codesign` v1.1.1 |\n| `\"1.2.1\"` | Modern bundle — Windows Kits 10.0.26100.0, `win-codesign` v1.2.1 |\n| `\"1.3.0\"` | Modern bundle — Windows Kits 10.0.26100.0, `win-codesign` v1.3.0 + separate ATS dlib bundle + .NET 8 runtime (required for Azure Trusted Signing `signtool /dlib`) |\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/win-codesign/CHANGELOG.md"
|
|
8061
7892
|
},
|
|
8062
7893
|
"wine": {
|
|
8063
7894
|
"anyOf": [
|
|
@@ -8065,7 +7896,10 @@
|
|
|
8065
7896
|
"$ref": "#/definitions/ToolsetCustom"
|
|
8066
7897
|
},
|
|
8067
7898
|
{
|
|
8068
|
-
"
|
|
7899
|
+
"enum": [
|
|
7900
|
+
"0.0.0",
|
|
7901
|
+
"1.0.1"
|
|
7902
|
+
],
|
|
8069
7903
|
"type": "string"
|
|
8070
7904
|
},
|
|
8071
7905
|
{
|
|
@@ -8073,7 +7907,7 @@
|
|
|
8073
7907
|
}
|
|
8074
7908
|
],
|
|
8075
7909
|
"default": "0.0.0",
|
|
8076
|
-
"description": "Version of the Wine bundle used to run Windows tools (NSIS, rcedit, signtool) on\nnon-Windows hosts (macOS and Linux).\n\nWine is only required when building Windows targets on a non-Windows machine. On Windows,\nthis setting has no effect.\n\nAvailable versions:\n| Version | Wine version | Platform support | Notes |\n|---------|-------------|-----------------|-------|\n| `\"0.0.0\"` | 4.0.1 | macOS
|
|
7910
|
+
"description": "Version of the Wine bundle used to run Windows tools (NSIS, rcedit, signtool) on\nnon-Windows hosts (macOS and Linux).\n\nWine is only required when building Windows targets on a non-Windows machine. On Windows,\nthis setting has no effect.\n\nAvailable versions:\n| Version | Wine version | Platform support | Notes |\n|---------|-------------|-----------------|-------|\n| `\"0.0.0\"` | 4.0.1 | macOS | Legacy portable bundle (default) |\n| `\"1.0.1\"` | 11.0 | macOS | Supports arm64 macOS via Rosetta |\n\nTo use a custom Wine binary, use a `ToolsetCustom` object.\n\nReleases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/wine/CHANGELOG.md"
|
|
8077
7911
|
}
|
|
8078
7912
|
},
|
|
8079
7913
|
"type": "object"
|
|
@@ -8100,29 +7934,28 @@
|
|
|
8100
7934
|
],
|
|
8101
7935
|
"type": "object"
|
|
8102
7936
|
},
|
|
8103
|
-
"
|
|
8104
|
-
"additionalProperties":
|
|
8105
|
-
"type": [
|
|
8106
|
-
"null",
|
|
8107
|
-
"string"
|
|
8108
|
-
]
|
|
8109
|
-
},
|
|
7937
|
+
"WindowsAzureSigningConfig": {
|
|
7938
|
+
"additionalProperties": false,
|
|
8110
7939
|
"properties": {
|
|
7940
|
+
"additionalMetadata": {
|
|
7941
|
+
"$ref": "#/definitions/Record<string,string>",
|
|
7942
|
+
"description": "Additional fields to include verbatim in the `metadata.json` file passed to\n`Azure.CodeSigning.Dlib.dll` via `signtool /dmdf`. Use this for DLib-specific options\nnot covered by the typed fields above (e.g. `ExcludeCredentials`, `CorrelationId`)."
|
|
7943
|
+
},
|
|
8111
7944
|
"certificateProfileName": {
|
|
8112
|
-
"description": "The Certificate Profile name. Translates to field: CertificateProfileName",
|
|
7945
|
+
"description": "The Certificate Profile name. Translates to field: CertificateProfileName.",
|
|
8113
7946
|
"type": "string"
|
|
8114
7947
|
},
|
|
8115
7948
|
"codeSigningAccountName": {
|
|
8116
|
-
"description": "The Code Signing
|
|
7949
|
+
"description": "The Code Signing Account name. Translates to field: CodeSigningAccountName.",
|
|
8117
7950
|
"type": "string"
|
|
8118
7951
|
},
|
|
8119
7952
|
"endpoint": {
|
|
8120
|
-
"description": "The Trusted Signing Account endpoint. The URI value must
|
|
7953
|
+
"description": "The Trusted Signing Account endpoint. The URI value must align to the region your Trusted\nSigning Account and Certificate Profile were created in.\n\nRequires Azure Entra ID environment variables per\n[Microsoft's documentation](https://learn.microsoft.com/en-us/dotnet/api/azure.identity.environmentcredential?view=azure-dotnet#definition).",
|
|
8121
7954
|
"type": "string"
|
|
8122
7955
|
},
|
|
8123
7956
|
"fileDigest": {
|
|
8124
7957
|
"default": "SHA256",
|
|
8125
|
-
"description": "The
|
|
7958
|
+
"description": "The file digest algorithm. Translates to field: FileDigest.",
|
|
8126
7959
|
"type": "string"
|
|
8127
7960
|
},
|
|
8128
7961
|
"publisherName": {
|
|
@@ -8131,12 +7964,16 @@
|
|
|
8131
7964
|
},
|
|
8132
7965
|
"timestampDigest": {
|
|
8133
7966
|
"default": "SHA256",
|
|
8134
|
-
"description": "The
|
|
7967
|
+
"description": "The timestamp digest algorithm. Translates to field: TimestampDigest.",
|
|
8135
7968
|
"type": "string"
|
|
8136
7969
|
},
|
|
8137
7970
|
"timestampRfc3161": {
|
|
8138
7971
|
"default": "http://timestamp.acs.microsoft.com",
|
|
8139
|
-
"description": "The
|
|
7972
|
+
"description": "The RFC3161 timestamp server. Translates to field: TimestampRfc3161.",
|
|
7973
|
+
"type": "string"
|
|
7974
|
+
},
|
|
7975
|
+
"type": {
|
|
7976
|
+
"const": "azure",
|
|
8140
7977
|
"type": "string"
|
|
8141
7978
|
}
|
|
8142
7979
|
},
|
|
@@ -8144,7 +7981,8 @@
|
|
|
8144
7981
|
"certificateProfileName",
|
|
8145
7982
|
"codeSigningAccountName",
|
|
8146
7983
|
"endpoint",
|
|
8147
|
-
"publisherName"
|
|
7984
|
+
"publisherName",
|
|
7985
|
+
"type"
|
|
8148
7986
|
],
|
|
8149
7987
|
"type": "object"
|
|
8150
7988
|
},
|
|
@@ -8172,27 +8010,15 @@
|
|
|
8172
8010
|
"$ref": "#/definitions/AsarOptions"
|
|
8173
8011
|
},
|
|
8174
8012
|
{
|
|
8175
|
-
"
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
"type": "null"
|
|
8013
|
+
"type": [
|
|
8014
|
+
"null",
|
|
8015
|
+
"boolean"
|
|
8016
|
+
]
|
|
8180
8017
|
}
|
|
8181
8018
|
],
|
|
8182
8019
|
"default": true,
|
|
8183
8020
|
"description": "Whether to package the application's source code into an archive, using [Electron's archive format](http://electron.atom.io/docs/tutorial/application-packaging/).\n\nNode modules that must be unpacked will be detected automatically. Use {@link AsarOptions.unpack} to specify additional files to unpack."
|
|
8184
8021
|
},
|
|
8185
|
-
"azureSignOptions": {
|
|
8186
|
-
"anyOf": [
|
|
8187
|
-
{
|
|
8188
|
-
"$ref": "#/definitions/WindowsAzureSigningConfiguration"
|
|
8189
|
-
},
|
|
8190
|
-
{
|
|
8191
|
-
"type": "null"
|
|
8192
|
-
}
|
|
8193
|
-
],
|
|
8194
|
-
"description": "Options for usage of Azure Trusted Signing service\nCannot be used in conjunction with `signtoolOptions`, signing will default to Azure Trusted Signing"
|
|
8195
|
-
},
|
|
8196
8022
|
"compression": {
|
|
8197
8023
|
"anyOf": [
|
|
8198
8024
|
{
|
|
@@ -8466,41 +8292,44 @@
|
|
|
8466
8292
|
"default": "asInvoker",
|
|
8467
8293
|
"description": "The [security level](https://msdn.microsoft.com/en-us/library/6ad1fshk.aspx#Anchor_9) at which the application requests to be executed.\nCannot be specified per target, allowed only in the `win`."
|
|
8468
8294
|
},
|
|
8469
|
-
"
|
|
8470
|
-
"default": true,
|
|
8471
|
-
"description": "Whether to sign and add metadata to executable via [`resedit`](https://www.npmjs.com/package/resedit).\nMetadata includes information about the app name/description/version, publisher, copyright, etc.\nThis property also is responsible for adding the app icon and setting execution level.\nSet to `false` only if you need to fully disable resedit-based resource editing.\nTo skip only code signing while keeping resource editing, use `signExecutable: false` instead.",
|
|
8472
|
-
"type": "boolean"
|
|
8473
|
-
},
|
|
8474
|
-
"signExecutable": {
|
|
8475
|
-
"default": true,
|
|
8476
|
-
"description": "Whether to sign Windows executables and any additional files matched by `signExts`.\nSet to `false` to skip Windows code signing while still editing executable resources\n(icon, metadata, etc. via [`resedit`](https://www.npmjs.com/package/resedit)).\nThis option is not limited to the main executable edit/sign flow and can also affect\nsigning of Windows installers or other artifacts that use the standard signing path.",
|
|
8477
|
-
"type": "boolean"
|
|
8478
|
-
},
|
|
8479
|
-
"signExts": {
|
|
8295
|
+
"sign": {
|
|
8480
8296
|
"anyOf": [
|
|
8481
8297
|
{
|
|
8482
|
-
"
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
"
|
|
8298
|
+
"$ref": "#/definitions/WindowsSigntoolSigningConfig"
|
|
8299
|
+
},
|
|
8300
|
+
{
|
|
8301
|
+
"$ref": "#/definitions/WindowsHsmSigningConfig"
|
|
8302
|
+
},
|
|
8303
|
+
{
|
|
8304
|
+
"$ref": "#/definitions/WindowsPkcs11SigningConfig"
|
|
8305
|
+
},
|
|
8306
|
+
{
|
|
8307
|
+
"$ref": "#/definitions/WindowsAzureSigningConfig"
|
|
8308
|
+
},
|
|
8309
|
+
{
|
|
8310
|
+
"const": false,
|
|
8311
|
+
"type": "boolean"
|
|
8486
8312
|
},
|
|
8487
8313
|
{
|
|
8488
8314
|
"type": "null"
|
|
8489
8315
|
}
|
|
8490
8316
|
],
|
|
8491
|
-
"
|
|
8492
|
-
"description": "Explicit file name/extensions (`str.endsWith`) to also sign. Advanced option.\nSupports negative patterns, e.g. example that excludes `.appx` files: `[\"somefilename\", \".dll\", \"!.appx\"]`."
|
|
8317
|
+
"description": "Code signing configuration. Set to `false` or `null` to disable Windows code signing\n(executable resources such as the icon and metadata are still edited). Leave unset to\nsign using credentials discovered from the environment (e.g. `WIN_CSC_LINK`). Otherwise\nprovide exactly one of the following signing modes:\n\n- `{ type: \"signtool\", ... }` — Sign with a local certificate file (.pfx/.p12) or a\n certificate from the Windows certificate store.\n- `{ type: \"hsm\", ... }` — Sign using a Hardware Security Module (HSM) or FIPS-compliant\n hardware token via signtool's `/csp` (cryptographic service provider) and `/kc` (key\n container) flags. Requires `toolsets.winCodeSign: \"1.x\"`. Windows-only.\n- `{ type: \"pkcs11\", ... }` — Sign using a PKCS#11 hardware token via osslsigncode.\n Available on macOS and Linux CI without a Windows VM.\n- `{ type: \"azure\", ... }` — Sign via Azure Trusted Signing (cloud service). Requires\n Azure Entra ID environment variables for authentication."
|
|
8493
8318
|
},
|
|
8494
|
-
"
|
|
8319
|
+
"signExts": {
|
|
8495
8320
|
"anyOf": [
|
|
8496
8321
|
{
|
|
8497
|
-
"
|
|
8322
|
+
"items": {
|
|
8323
|
+
"type": "string"
|
|
8324
|
+
},
|
|
8325
|
+
"type": "array"
|
|
8498
8326
|
},
|
|
8499
8327
|
{
|
|
8500
8328
|
"type": "null"
|
|
8501
8329
|
}
|
|
8502
8330
|
],
|
|
8503
|
-
"
|
|
8331
|
+
"default": null,
|
|
8332
|
+
"description": "Explicit file name/extensions (`str.endsWith`) to also sign. Advanced option.\nSupports negative patterns, e.g. example that excludes `.appx` files: `[\"somefilename\", \".dll\", \"!.appx\"]`."
|
|
8504
8333
|
},
|
|
8505
8334
|
"target": {
|
|
8506
8335
|
"anyOf": [
|
|
@@ -8538,7 +8367,227 @@
|
|
|
8538
8367
|
},
|
|
8539
8368
|
"type": "object"
|
|
8540
8369
|
},
|
|
8541
|
-
"
|
|
8370
|
+
"WindowsHsmSigningConfig": {
|
|
8371
|
+
"additionalProperties": false,
|
|
8372
|
+
"properties": {
|
|
8373
|
+
"additionalCertificateFile": {
|
|
8374
|
+
"description": "The path to an additional certificate file you want to add to the signature block.",
|
|
8375
|
+
"type": [
|
|
8376
|
+
"null",
|
|
8377
|
+
"string"
|
|
8378
|
+
]
|
|
8379
|
+
},
|
|
8380
|
+
"certificateFile": {
|
|
8381
|
+
"description": "Path to the certificate file containing the public certificate chain (.crt / .cer / .pfx).\nThe private key is NOT read from this file — it is provided by the HSM via `cryptoServiceProvider`.",
|
|
8382
|
+
"type": [
|
|
8383
|
+
"null",
|
|
8384
|
+
"string"
|
|
8385
|
+
]
|
|
8386
|
+
},
|
|
8387
|
+
"certificateSha1": {
|
|
8388
|
+
"description": "The SHA1 thumbprint of the certificate in the Windows certificate store.",
|
|
8389
|
+
"type": [
|
|
8390
|
+
"null",
|
|
8391
|
+
"string"
|
|
8392
|
+
]
|
|
8393
|
+
},
|
|
8394
|
+
"certificateSubjectName": {
|
|
8395
|
+
"description": "The subject name of the certificate in the Windows certificate store.",
|
|
8396
|
+
"type": [
|
|
8397
|
+
"null",
|
|
8398
|
+
"string"
|
|
8399
|
+
]
|
|
8400
|
+
},
|
|
8401
|
+
"cryptoServiceProvider": {
|
|
8402
|
+
"description": "The name of the cryptographic service provider (CSP) that holds the private key.\nMaps to signtool's `/csp` flag. Examples:\n- Google Cloud KMS: `\"Google Cloud KMS Provider\"`\n- Smart card / FIPS token: `\"Microsoft Base Smart Card Crypto Provider\"`\n\nRequires `toolsets.winCodeSign: \"1.x\"`. Windows-only — use `type: \"pkcs11\"` on macOS/Linux.",
|
|
8403
|
+
"type": "string"
|
|
8404
|
+
},
|
|
8405
|
+
"keyContainer": {
|
|
8406
|
+
"description": "The key container name within the CSP. Maps to signtool's `/kc` flag.\n\nExample for Google Cloud KMS:\n`\"projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY_NAME/cryptoKeyVersions/1\"`",
|
|
8407
|
+
"type": "string"
|
|
8408
|
+
},
|
|
8409
|
+
"publisherName": {
|
|
8410
|
+
"anyOf": [
|
|
8411
|
+
{
|
|
8412
|
+
"items": {
|
|
8413
|
+
"type": "string"
|
|
8414
|
+
},
|
|
8415
|
+
"type": "array"
|
|
8416
|
+
},
|
|
8417
|
+
{
|
|
8418
|
+
"type": [
|
|
8419
|
+
"null",
|
|
8420
|
+
"string"
|
|
8421
|
+
]
|
|
8422
|
+
}
|
|
8423
|
+
],
|
|
8424
|
+
"description": "[The publisher name](https://github.com/electron-userland/electron-builder/issues/1187#issuecomment-278972073), exactly as in your code signed certificate. Several names can be provided.\nDefaults to common name from your code signing certificate."
|
|
8425
|
+
},
|
|
8426
|
+
"rfc3161TimeStampServer": {
|
|
8427
|
+
"default": "http://timestamp.digicert.com",
|
|
8428
|
+
"description": "The URL of the RFC 3161 time stamp server.",
|
|
8429
|
+
"type": [
|
|
8430
|
+
"null",
|
|
8431
|
+
"string"
|
|
8432
|
+
]
|
|
8433
|
+
},
|
|
8434
|
+
"sign": {
|
|
8435
|
+
"anyOf": [
|
|
8436
|
+
{
|
|
8437
|
+
"typeof": "function"
|
|
8438
|
+
},
|
|
8439
|
+
{
|
|
8440
|
+
"type": [
|
|
8441
|
+
"null",
|
|
8442
|
+
"string"
|
|
8443
|
+
]
|
|
8444
|
+
}
|
|
8445
|
+
],
|
|
8446
|
+
"description": "The custom function (or path to file or module id) to sign Windows executables."
|
|
8447
|
+
},
|
|
8448
|
+
"signingHashAlgorithms": {
|
|
8449
|
+
"anyOf": [
|
|
8450
|
+
{
|
|
8451
|
+
"items": {
|
|
8452
|
+
"enum": [
|
|
8453
|
+
"sha1",
|
|
8454
|
+
"sha256"
|
|
8455
|
+
],
|
|
8456
|
+
"type": "string"
|
|
8457
|
+
},
|
|
8458
|
+
"type": "array"
|
|
8459
|
+
},
|
|
8460
|
+
{
|
|
8461
|
+
"type": "null"
|
|
8462
|
+
}
|
|
8463
|
+
],
|
|
8464
|
+
"default": "['sha1', 'sha256']",
|
|
8465
|
+
"description": "Array of signing algorithms used. For AppX `sha256` is always used."
|
|
8466
|
+
},
|
|
8467
|
+
"timeStampServer": {
|
|
8468
|
+
"default": "http://timestamp.digicert.com",
|
|
8469
|
+
"description": "The URL of the time stamp server.",
|
|
8470
|
+
"type": [
|
|
8471
|
+
"null",
|
|
8472
|
+
"string"
|
|
8473
|
+
]
|
|
8474
|
+
},
|
|
8475
|
+
"type": {
|
|
8476
|
+
"const": "hsm",
|
|
8477
|
+
"type": "string"
|
|
8478
|
+
}
|
|
8479
|
+
},
|
|
8480
|
+
"required": [
|
|
8481
|
+
"cryptoServiceProvider",
|
|
8482
|
+
"keyContainer",
|
|
8483
|
+
"type"
|
|
8484
|
+
],
|
|
8485
|
+
"type": "object"
|
|
8486
|
+
},
|
|
8487
|
+
"WindowsPkcs11SigningConfig": {
|
|
8488
|
+
"additionalProperties": false,
|
|
8489
|
+
"properties": {
|
|
8490
|
+
"additionalCertificateFile": {
|
|
8491
|
+
"description": "The path to an additional certificate file you want to add to the signature block.",
|
|
8492
|
+
"type": [
|
|
8493
|
+
"null",
|
|
8494
|
+
"string"
|
|
8495
|
+
]
|
|
8496
|
+
},
|
|
8497
|
+
"certificateFile": {
|
|
8498
|
+
"description": "Optional path to a certificate chain file to accompany the PKCS#11 key.\nIf omitted the certificate embedded in the token is used.",
|
|
8499
|
+
"type": [
|
|
8500
|
+
"null",
|
|
8501
|
+
"string"
|
|
8502
|
+
]
|
|
8503
|
+
},
|
|
8504
|
+
"pkcs11KeyUri": {
|
|
8505
|
+
"description": "RFC 7512 PKCS#11 URI identifying the private key within the module.\nMaps to osslsigncode's `-key` parameter.\n\nExample: `\"pkcs11:token=MyToken;object=MyKey;type=private\"`\n\nMust be paired with `pkcs11Module`.",
|
|
8506
|
+
"type": "string"
|
|
8507
|
+
},
|
|
8508
|
+
"pkcs11Module": {
|
|
8509
|
+
"description": "Path to the PKCS#11 shared library (`.so` on Linux, `.dylib` on macOS).\nThe library must be installed separately — electron-builder does not bundle it.\n\nExample: `\"/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so\"`\n\nMust be paired with `pkcs11KeyUri`.",
|
|
8510
|
+
"type": "string"
|
|
8511
|
+
},
|
|
8512
|
+
"publisherName": {
|
|
8513
|
+
"anyOf": [
|
|
8514
|
+
{
|
|
8515
|
+
"items": {
|
|
8516
|
+
"type": "string"
|
|
8517
|
+
},
|
|
8518
|
+
"type": "array"
|
|
8519
|
+
},
|
|
8520
|
+
{
|
|
8521
|
+
"type": [
|
|
8522
|
+
"null",
|
|
8523
|
+
"string"
|
|
8524
|
+
]
|
|
8525
|
+
}
|
|
8526
|
+
],
|
|
8527
|
+
"description": "[The publisher name](https://github.com/electron-userland/electron-builder/issues/1187#issuecomment-278972073), exactly as in your code signed certificate. Several names can be provided.\nDefaults to common name from your code signing certificate."
|
|
8528
|
+
},
|
|
8529
|
+
"rfc3161TimeStampServer": {
|
|
8530
|
+
"default": "http://timestamp.digicert.com",
|
|
8531
|
+
"description": "The URL of the RFC 3161 time stamp server.",
|
|
8532
|
+
"type": [
|
|
8533
|
+
"null",
|
|
8534
|
+
"string"
|
|
8535
|
+
]
|
|
8536
|
+
},
|
|
8537
|
+
"sign": {
|
|
8538
|
+
"anyOf": [
|
|
8539
|
+
{
|
|
8540
|
+
"typeof": "function"
|
|
8541
|
+
},
|
|
8542
|
+
{
|
|
8543
|
+
"type": [
|
|
8544
|
+
"null",
|
|
8545
|
+
"string"
|
|
8546
|
+
]
|
|
8547
|
+
}
|
|
8548
|
+
],
|
|
8549
|
+
"description": "The custom function (or path to file or module id) to sign Windows executables."
|
|
8550
|
+
},
|
|
8551
|
+
"signingHashAlgorithms": {
|
|
8552
|
+
"anyOf": [
|
|
8553
|
+
{
|
|
8554
|
+
"items": {
|
|
8555
|
+
"enum": [
|
|
8556
|
+
"sha1",
|
|
8557
|
+
"sha256"
|
|
8558
|
+
],
|
|
8559
|
+
"type": "string"
|
|
8560
|
+
},
|
|
8561
|
+
"type": "array"
|
|
8562
|
+
},
|
|
8563
|
+
{
|
|
8564
|
+
"type": "null"
|
|
8565
|
+
}
|
|
8566
|
+
],
|
|
8567
|
+
"default": "['sha1', 'sha256']",
|
|
8568
|
+
"description": "Array of signing algorithms used. For AppX `sha256` is always used."
|
|
8569
|
+
},
|
|
8570
|
+
"timeStampServer": {
|
|
8571
|
+
"default": "http://timestamp.digicert.com",
|
|
8572
|
+
"description": "The URL of the time stamp server.",
|
|
8573
|
+
"type": [
|
|
8574
|
+
"null",
|
|
8575
|
+
"string"
|
|
8576
|
+
]
|
|
8577
|
+
},
|
|
8578
|
+
"type": {
|
|
8579
|
+
"const": "pkcs11",
|
|
8580
|
+
"type": "string"
|
|
8581
|
+
}
|
|
8582
|
+
},
|
|
8583
|
+
"required": [
|
|
8584
|
+
"pkcs11KeyUri",
|
|
8585
|
+
"pkcs11Module",
|
|
8586
|
+
"type"
|
|
8587
|
+
],
|
|
8588
|
+
"type": "object"
|
|
8589
|
+
},
|
|
8590
|
+
"WindowsSigntoolSigningConfig": {
|
|
8542
8591
|
"additionalProperties": false,
|
|
8543
8592
|
"properties": {
|
|
8544
8593
|
"additionalCertificateFile": {
|
|
@@ -8549,28 +8598,28 @@
|
|
|
8549
8598
|
]
|
|
8550
8599
|
},
|
|
8551
8600
|
"certificateFile": {
|
|
8552
|
-
"description": "The path to the *.pfx
|
|
8601
|
+
"description": "The path to the *.pfx or *.p12 certificate file. Prefer the `WIN_CSC_LINK` environment\nvariable when possible. See [Code Signing](https://www.electron.build/code-signing).",
|
|
8553
8602
|
"type": [
|
|
8554
8603
|
"null",
|
|
8555
8604
|
"string"
|
|
8556
8605
|
]
|
|
8557
8606
|
},
|
|
8558
8607
|
"certificatePassword": {
|
|
8559
|
-
"description": "The password to the certificate provided in `certificateFile`.
|
|
8608
|
+
"description": "The password to the certificate provided in `certificateFile`. Prefer the\n`WIN_CSC_KEY_PASSWORD` environment variable when possible.",
|
|
8560
8609
|
"type": [
|
|
8561
8610
|
"null",
|
|
8562
8611
|
"string"
|
|
8563
8612
|
]
|
|
8564
8613
|
},
|
|
8565
8614
|
"certificateSha1": {
|
|
8566
|
-
"description": "The SHA1 hash of the signing certificate.
|
|
8615
|
+
"description": "The SHA1 hash of the signing certificate. Works only on Windows (or macOS with Parallels Desktop).",
|
|
8567
8616
|
"type": [
|
|
8568
8617
|
"null",
|
|
8569
8618
|
"string"
|
|
8570
8619
|
]
|
|
8571
8620
|
},
|
|
8572
8621
|
"certificateSubjectName": {
|
|
8573
|
-
"description": "The name of the subject of the signing certificate
|
|
8622
|
+
"description": "The name of the subject of the signing certificate. Required for EV Code Signing.\nWorks only on Windows (or macOS with Parallels Desktop).",
|
|
8574
8623
|
"type": [
|
|
8575
8624
|
"null",
|
|
8576
8625
|
"string"
|
|
@@ -8613,7 +8662,7 @@
|
|
|
8613
8662
|
]
|
|
8614
8663
|
}
|
|
8615
8664
|
],
|
|
8616
|
-
"description": "The custom function (or path to file or module id) to sign Windows executables"
|
|
8665
|
+
"description": "The custom function (or path to file or module id) to sign Windows executables."
|
|
8617
8666
|
},
|
|
8618
8667
|
"signingHashAlgorithms": {
|
|
8619
8668
|
"anyOf": [
|
|
@@ -8641,8 +8690,15 @@
|
|
|
8641
8690
|
"null",
|
|
8642
8691
|
"string"
|
|
8643
8692
|
]
|
|
8693
|
+
},
|
|
8694
|
+
"type": {
|
|
8695
|
+
"const": "signtool",
|
|
8696
|
+
"type": "string"
|
|
8644
8697
|
}
|
|
8645
8698
|
},
|
|
8699
|
+
"required": [
|
|
8700
|
+
"type"
|
|
8701
|
+
],
|
|
8646
8702
|
"type": "object"
|
|
8647
8703
|
}
|
|
8648
8704
|
},
|
|
@@ -8800,11 +8856,10 @@
|
|
|
8800
8856
|
"$ref": "#/definitions/AsarOptions"
|
|
8801
8857
|
},
|
|
8802
8858
|
{
|
|
8803
|
-
"
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
"type": "null"
|
|
8859
|
+
"type": [
|
|
8860
|
+
"null",
|
|
8861
|
+
"boolean"
|
|
8862
|
+
]
|
|
8808
8863
|
}
|
|
8809
8864
|
],
|
|
8810
8865
|
"default": true,
|
|
@@ -8972,30 +9027,27 @@
|
|
|
8972
9027
|
],
|
|
8973
9028
|
"description": "Override the source of the Electron distribution to stage.\n\nShould return the path to either:\n- A **directory** containing a pre-built, unpacked Electron app (e.g. `~/electron/out/R`).\n- A **directory** containing Electron zip archives following the naming convention\n `electron-v${version}-${platformName}-${arch}.zip`.\n\nWhen not set, electron-builder downloads the official Electron release from GitHub (or the\nmirror configured via `electronDownload`).\n\nReceives a {@link PrepareApplicationStageDirectoryOptions}."
|
|
8974
9029
|
},
|
|
8975
|
-
"
|
|
9030
|
+
"electronFuses": {
|
|
8976
9031
|
"anyOf": [
|
|
8977
9032
|
{
|
|
8978
|
-
"$ref": "#/definitions/
|
|
8979
|
-
},
|
|
8980
|
-
{
|
|
8981
|
-
"$ref": "#/definitions/ElectronGetOptions"
|
|
9033
|
+
"$ref": "#/definitions/FuseOptionsV1"
|
|
8982
9034
|
},
|
|
8983
9035
|
{
|
|
8984
9036
|
"type": "null"
|
|
8985
9037
|
}
|
|
8986
9038
|
],
|
|
8987
|
-
"description": "Options forwarded to [`@electron/
|
|
9039
|
+
"description": "Options forwarded to [`@electron/fuses`](https://github.com/electron/fuses) to flip Electron\nfeature flags in the binary.\n\nFuses are compile-time-like flags baked into the Electron binary that cannot be changed at\nruntime. Flipping them is the approved mechanism for hardening Electron apps (e.g., disabling\n`ELECTRON_RUN_AS_NODE`, enabling ASAR integrity, etc.).\n\nelectron-builder flips fuses after packaging but before signing so that the final signature\ncovers the modified binary."
|
|
8988
9040
|
},
|
|
8989
|
-
"
|
|
9041
|
+
"electronGet": {
|
|
8990
9042
|
"anyOf": [
|
|
8991
9043
|
{
|
|
8992
|
-
"$ref": "#/definitions/
|
|
9044
|
+
"$ref": "#/definitions/ElectronGetOptions"
|
|
8993
9045
|
},
|
|
8994
9046
|
{
|
|
8995
9047
|
"type": "null"
|
|
8996
9048
|
}
|
|
8997
9049
|
],
|
|
8998
|
-
"description": "Options forwarded to [`@electron/
|
|
9050
|
+
"description": "Options forwarded to [`@electron/get`](https://github.com/electron/get) when downloading the\nElectron distribution to package."
|
|
8999
9051
|
},
|
|
9000
9052
|
"electronLanguages": {
|
|
9001
9053
|
"anyOf": [
|