app-builder-lib 26.9.1 → 26.11.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.
- package/out/ProtonFramework.d.ts +1 -1
- package/out/ProtonFramework.js +2 -2
- package/out/ProtonFramework.js.map +1 -1
- package/out/binDownload.d.ts +2 -18
- package/out/binDownload.js +33 -185
- package/out/binDownload.js.map +1 -1
- package/out/codeSign/windowsSignToolManager.js +1 -1
- package/out/codeSign/windowsSignToolManager.js.map +1 -1
- package/out/configuration.d.ts +100 -68
- package/out/configuration.js.map +1 -1
- package/out/core.d.ts +2 -2
- package/out/core.js.map +1 -1
- package/out/electron/ElectronFramework.d.ts +2 -19
- package/out/electron/ElectronFramework.js +47 -40
- package/out/electron/ElectronFramework.js.map +1 -1
- package/out/electron/injectFFMPEG.d.ts +10 -1
- package/out/electron/injectFFMPEG.js +48 -34
- package/out/electron/injectFFMPEG.js.map +1 -1
- package/out/frameworks/LibUiFramework.d.ts +3 -2
- package/out/frameworks/LibUiFramework.js +5 -2
- package/out/frameworks/LibUiFramework.js.map +1 -1
- package/out/index.d.ts +3 -2
- package/out/index.js +1 -1
- package/out/index.js.map +1 -1
- package/out/macPackager.js +24 -3
- package/out/macPackager.js.map +1 -1
- package/out/node-module-collector/moduleManager.d.ts +7 -1
- package/out/node-module-collector/moduleManager.js +9 -2
- package/out/node-module-collector/moduleManager.js.map +1 -1
- package/out/node-module-collector/nodeModulesCollector.js +5 -3
- package/out/node-module-collector/nodeModulesCollector.js.map +1 -1
- package/out/node-module-collector/pnpmNodeModulesCollector.d.ts +26 -2
- package/out/node-module-collector/pnpmNodeModulesCollector.js +98 -18
- package/out/node-module-collector/pnpmNodeModulesCollector.js.map +1 -1
- package/out/options/AppXOptions.d.ts +1 -1
- package/out/options/AppXOptions.js.map +1 -1
- package/out/options/PlatformSpecificBuildOptions.d.ts +31 -11
- package/out/options/PlatformSpecificBuildOptions.js.map +1 -1
- package/out/options/SnapOptions.d.ts +1 -1
- package/out/options/SnapOptions.js.map +1 -1
- package/out/options/linuxOptions.d.ts +38 -12
- package/out/options/linuxOptions.js.map +1 -1
- package/out/options/macOptions.d.ts +10 -7
- package/out/options/macOptions.js.map +1 -1
- package/out/options/metadata.d.ts +1 -2
- package/out/options/metadata.js.map +1 -1
- package/out/options/pkgOptions.d.ts +1 -1
- package/out/options/pkgOptions.js.map +1 -1
- package/out/options/winOptions.d.ts +15 -5
- package/out/options/winOptions.js.map +1 -1
- package/out/packager.js +12 -12
- package/out/packager.js.map +1 -1
- package/out/platformPackager.js +2 -5
- package/out/platformPackager.js.map +1 -1
- package/out/targets/FpmTarget.js +3 -2
- package/out/targets/FpmTarget.js.map +1 -1
- package/out/targets/LinuxTargetHelper.d.ts +4 -4
- package/out/targets/LinuxTargetHelper.js.map +1 -1
- package/out/targets/MsiTarget.js +1 -1
- package/out/targets/MsiTarget.js.map +1 -1
- package/out/targets/appimage/AppImageTarget.d.ts +1 -0
- package/out/targets/appimage/AppImageTarget.js +30 -10
- package/out/targets/appimage/AppImageTarget.js.map +1 -1
- package/out/targets/appimage/appImageUtil.d.ts +30 -2
- package/out/targets/appimage/appImageUtil.js +26 -24
- package/out/targets/appimage/appImageUtil.js.map +1 -1
- package/out/targets/appimage/appLauncher.d.ts +1 -1
- package/out/targets/appimage/appLauncher.js +7 -3
- package/out/targets/appimage/appLauncher.js.map +1 -1
- package/out/targets/archive.js +20 -6
- package/out/targets/archive.js.map +1 -1
- package/out/targets/nsis/NsisTarget.js +11 -11
- package/out/targets/nsis/NsisTarget.js.map +1 -1
- package/out/targets/nsis/nsisOptions.d.ts +20 -16
- package/out/targets/nsis/nsisOptions.js.map +1 -1
- package/out/targets/nsis/nsisScriptGenerator.d.ts +1 -0
- package/out/targets/nsis/nsisScriptGenerator.js +14 -1
- package/out/targets/nsis/nsisScriptGenerator.js.map +1 -1
- package/out/targets/nsis/nsisUtil.js +4 -3
- package/out/targets/nsis/nsisUtil.js.map +1 -1
- package/out/toolsets/linux.js +8 -8
- package/out/toolsets/linux.js.map +1 -1
- package/out/toolsets/windows.d.ts +16 -16
- package/out/toolsets/windows.js +29 -21
- package/out/toolsets/windows.js.map +1 -1
- package/out/util/NodeModuleCopyHelper.js +1 -1
- package/out/util/NodeModuleCopyHelper.js.map +1 -1
- package/out/util/appBuilder.js +1 -1
- package/out/util/appBuilder.js.map +1 -1
- package/out/util/cacheState.d.ts +28 -0
- package/out/util/cacheState.js +143 -0
- package/out/util/cacheState.js.map +1 -0
- package/out/util/electronGet.d.ts +56 -0
- package/out/util/electronGet.js +388 -0
- package/out/util/electronGet.js.map +1 -0
- package/out/util/macroExpander.js +3 -0
- package/out/util/macroExpander.js.map +1 -1
- package/out/util/resEdit.d.ts +10 -0
- package/out/util/resEdit.js +48 -0
- package/out/util/resEdit.js.map +1 -0
- package/out/util/resolve.d.ts +1 -1
- package/out/util/resolve.js +16 -1
- package/out/util/resolve.js.map +1 -1
- package/out/version.d.ts +1 -1
- package/out/version.js +1 -1
- package/out/version.js.map +1 -1
- package/out/vm/ParallelsVm.d.ts +16 -0
- package/out/vm/ParallelsVm.js +0 -1
- package/out/vm/ParallelsVm.js.map +1 -1
- package/out/winPackager.js +44 -42
- package/out/winPackager.js.map +1 -1
- package/package.json +11 -9
- package/scheme.json +672 -135
package/scheme.json
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"additionalProperties": false,
|
|
41
41
|
"properties": {
|
|
42
42
|
"artifactName": {
|
|
43
|
-
"description": "The [artifact file name template](
|
|
43
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
44
44
|
"type": [
|
|
45
45
|
"null",
|
|
46
46
|
"string"
|
|
@@ -53,8 +53,24 @@
|
|
|
53
53
|
"string"
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
|
+
"compression": {
|
|
57
|
+
"anyOf": [
|
|
58
|
+
{
|
|
59
|
+
"enum": [
|
|
60
|
+
"gzip",
|
|
61
|
+
"xz",
|
|
62
|
+
"zstd"
|
|
63
|
+
],
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "null"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"description": "The compression algorithm passed to the AppImage build tool.\n\n**FUSE2 toolset (`\"0.0.0\"` or unset):** `\"xz\"` is forwarded as `--compression xz`.\n`\"gzip\"`, `\"zstd\"`, `null`, and unset all fall through to the root-level `compression` option:\n- `\"maximum\"` → `--compression xz` (overrides any per-target gzip/zstd value)\n- anything else → flag omitted (mksquashfs defaults to gzip)\n\n**Static-runtime toolsets (`>= 1.0.0`):** `\"gzip\"` and `\"zstd\"` are forwarded\ndirectly. `\"xz\"` is mapped to `\"zstd\"` (nearest supported equivalent). `null`\nor unset falls through to the root-level `compression` option:\n- `\"store\"` → `\"gzip\"`\n- `\"normal\"` / `\"maximum\"` / unset → `\"zstd\"`"
|
|
71
|
+
},
|
|
56
72
|
"description": {
|
|
57
|
-
"description": "As [description](
|
|
73
|
+
"description": "As [description](https://www.electron.build/configuration#description) from application package.json, but allows you to specify different for Linux.",
|
|
58
74
|
"type": [
|
|
59
75
|
"null",
|
|
60
76
|
"string"
|
|
@@ -171,7 +187,7 @@
|
|
|
171
187
|
"type": "string"
|
|
172
188
|
},
|
|
173
189
|
"artifactName": {
|
|
174
|
-
"description": "The [artifact file name template](
|
|
190
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
175
191
|
"type": [
|
|
176
192
|
"null",
|
|
177
193
|
"string"
|
|
@@ -219,7 +235,7 @@
|
|
|
219
235
|
"type": "boolean"
|
|
220
236
|
},
|
|
221
237
|
"identityName": {
|
|
222
|
-
"description": "The name. Corresponds to [Identity.Name](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx). Defaults to the [application name](
|
|
238
|
+
"description": "The name. Corresponds to [Identity.Name](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx). Defaults to the [application name](https://www.electron.build/configuration#metadata).",
|
|
223
239
|
"type": [
|
|
224
240
|
"null",
|
|
225
241
|
"string"
|
|
@@ -355,6 +371,7 @@
|
|
|
355
371
|
"additionalProperties": false,
|
|
356
372
|
"properties": {
|
|
357
373
|
"ordering": {
|
|
374
|
+
"description": "Path to a file containing the order in which files should be packed into the asar archive.\nEach line of the file is a relative path from the app directory. Files listed first are\npacked first, which can improve app startup time by front-loading frequently accessed modules.\nSee the [asar documentation](https://github.com/electron/asar) for details.",
|
|
358
375
|
"type": [
|
|
359
376
|
"null",
|
|
360
377
|
"string"
|
|
@@ -604,7 +621,7 @@
|
|
|
604
621
|
]
|
|
605
622
|
},
|
|
606
623
|
"artifactName": {
|
|
607
|
-
"description": "The [artifact file name template](
|
|
624
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
608
625
|
"type": [
|
|
609
626
|
"null",
|
|
610
627
|
"string"
|
|
@@ -623,8 +640,8 @@
|
|
|
623
640
|
"enum": [
|
|
624
641
|
"bzip2",
|
|
625
642
|
"gz",
|
|
626
|
-
"
|
|
627
|
-
"
|
|
643
|
+
"xz",
|
|
644
|
+
"zst"
|
|
628
645
|
],
|
|
629
646
|
"type": "string"
|
|
630
647
|
},
|
|
@@ -633,7 +650,7 @@
|
|
|
633
650
|
}
|
|
634
651
|
],
|
|
635
652
|
"default": "xz",
|
|
636
|
-
"description": "The compression type."
|
|
653
|
+
"description": "The compression type passed to fpm. For `deb`, `rpm`, and `pacman` targets prefer the\ntyped per-format interfaces (`DebOptions`, `RpmOptions`, `PacmanOptions`) which narrow\nthis to only the values that fpm actually accepts for that format."
|
|
637
654
|
},
|
|
638
655
|
"depends": {
|
|
639
656
|
"anyOf": [
|
|
@@ -661,7 +678,7 @@
|
|
|
661
678
|
"description": "Package dependencies.\nIf need to support Debian, `libappindicator1` should be removed, it is [deprecated in Debian](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895037).\nIf need to support KDE, `gconf2` and `gconf-service` should be removed as it's no longer used [by GNOME](https://packages.debian.org/bullseye/gconf2)."
|
|
662
679
|
},
|
|
663
680
|
"description": {
|
|
664
|
-
"description": "As [description](
|
|
681
|
+
"description": "As [description](https://www.electron.build/configuration#description) from application package.json, but allows you to specify different for Linux.",
|
|
665
682
|
"type": [
|
|
666
683
|
"null",
|
|
667
684
|
"string"
|
|
@@ -864,7 +881,7 @@
|
|
|
864
881
|
"additionalProperties": false,
|
|
865
882
|
"properties": {
|
|
866
883
|
"artifactName": {
|
|
867
|
-
"description": "The [artifact file name template](
|
|
884
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
868
885
|
"type": [
|
|
869
886
|
"null",
|
|
870
887
|
"string"
|
|
@@ -878,14 +895,15 @@
|
|
|
878
895
|
]
|
|
879
896
|
},
|
|
880
897
|
"backgroundColor": {
|
|
881
|
-
"
|
|
898
|
+
"default": "#ffffff",
|
|
899
|
+
"description": "The background color (accepts css colors). Used when no background image is set.",
|
|
882
900
|
"type": [
|
|
883
901
|
"null",
|
|
884
902
|
"string"
|
|
885
903
|
]
|
|
886
904
|
},
|
|
887
905
|
"badgeIcon": {
|
|
888
|
-
"description": "The path to DMG icon (badge icon), which will be shown when mounted, relative to the [build resources](
|
|
906
|
+
"description": "The path to DMG icon (badge icon), which will be shown when mounted, relative to the [build resources](https://www.electron.build/contents#extraresources) or to the project directory.",
|
|
889
907
|
"type": [
|
|
890
908
|
"null",
|
|
891
909
|
"string"
|
|
@@ -912,7 +930,7 @@
|
|
|
912
930
|
"type": "string"
|
|
913
931
|
},
|
|
914
932
|
"icon": {
|
|
915
|
-
"description": "The path to DMG icon (volume icon), which will be shown when mounted, relative to the [build resources](
|
|
933
|
+
"description": "The path to DMG icon (volume icon), which will be shown when mounted, relative to the [build resources](https://www.electron.build/contents#extraresources) or to the project directory.\nDefaults to the application icon (`build/icon.icns`).",
|
|
916
934
|
"type": [
|
|
917
935
|
"null",
|
|
918
936
|
"string"
|
|
@@ -1104,6 +1122,49 @@
|
|
|
1104
1122
|
},
|
|
1105
1123
|
"version": {
|
|
1106
1124
|
"type": "string"
|
|
1125
|
+
},
|
|
1126
|
+
"checksums": {
|
|
1127
|
+
"type": "object",
|
|
1128
|
+
"additionalProperties": {
|
|
1129
|
+
"type": "string"
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
"type": "object"
|
|
1134
|
+
},
|
|
1135
|
+
"ElectronGetOptions": {
|
|
1136
|
+
"additionalProperties": false,
|
|
1137
|
+
"properties": {
|
|
1138
|
+
"checksums": {
|
|
1139
|
+
"$ref": "#/definitions/Record<string,string>",
|
|
1140
|
+
"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."
|
|
1141
|
+
},
|
|
1142
|
+
"force": {
|
|
1143
|
+
"description": "Whether to download an artifact regardless of whether it's in the cache directory.",
|
|
1144
|
+
"type": "boolean"
|
|
1145
|
+
},
|
|
1146
|
+
"unsafelyDisableChecksums": {
|
|
1147
|
+
"description": "When set to `true`, disables checking that the artifact download completed successfully\nwith the correct payload.",
|
|
1148
|
+
"type": "boolean"
|
|
1149
|
+
},
|
|
1150
|
+
"mirrorOptions": {
|
|
1151
|
+
"type": "object",
|
|
1152
|
+
"additionalProperties": false,
|
|
1153
|
+
"description": "Mirror options passed directly to @electron/get. Omits customDir, customFilename, and customVersion which are controlled by electron-builder.",
|
|
1154
|
+
"properties": {
|
|
1155
|
+
"mirror": {
|
|
1156
|
+
"type": "string",
|
|
1157
|
+
"description": "The base mirror URL for downloading Electron artifacts."
|
|
1158
|
+
},
|
|
1159
|
+
"nightlyMirror": {
|
|
1160
|
+
"type": "string",
|
|
1161
|
+
"description": "The mirror URL to use for nightly Electron builds."
|
|
1162
|
+
},
|
|
1163
|
+
"resolveAssetURL": {
|
|
1164
|
+
"type": "string",
|
|
1165
|
+
"description": "A custom function (serialised) to resolve the full asset URL."
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1107
1168
|
}
|
|
1108
1169
|
},
|
|
1109
1170
|
"type": "object"
|
|
@@ -1189,10 +1250,10 @@
|
|
|
1189
1250
|
"type": "string"
|
|
1190
1251
|
}
|
|
1191
1252
|
],
|
|
1192
|
-
"description": "The [glob patterns](
|
|
1253
|
+
"description": "The [glob patterns](https://www.electron.build/file-patterns). Defaults to \"**\\/*\""
|
|
1193
1254
|
},
|
|
1194
1255
|
"from": {
|
|
1195
|
-
"description": "The source path relative to and defaults to:\n\n - the [app directory](configuration
|
|
1256
|
+
"description": "The source path relative to and defaults to:\n\n - the [app directory](https://www.electron.build/configuration#directories) for `files`,\n - the project directory for `extraResources` and `extraFiles`.\nIf you don't use two-package.json structure and don't set custom app directory, app directory equals to project directory.",
|
|
1196
1257
|
"type": "string"
|
|
1197
1258
|
},
|
|
1198
1259
|
"to": {
|
|
@@ -1206,7 +1267,7 @@
|
|
|
1206
1267
|
"additionalProperties": false,
|
|
1207
1268
|
"properties": {
|
|
1208
1269
|
"artifactName": {
|
|
1209
|
-
"description": "The [artifact file name template](
|
|
1270
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
1210
1271
|
"type": [
|
|
1211
1272
|
"null",
|
|
1212
1273
|
"string"
|
|
@@ -1232,7 +1293,7 @@
|
|
|
1232
1293
|
]
|
|
1233
1294
|
},
|
|
1234
1295
|
"description": {
|
|
1235
|
-
"description": "As [description](
|
|
1296
|
+
"description": "As [description](https://www.electron.build/configuration#description) from application package.json, but allows you to specify different for Linux.",
|
|
1236
1297
|
"type": [
|
|
1237
1298
|
"null",
|
|
1238
1299
|
"string"
|
|
@@ -1444,7 +1505,7 @@
|
|
|
1444
1505
|
},
|
|
1445
1506
|
"GenericServerOptions": {
|
|
1446
1507
|
"additionalProperties": false,
|
|
1447
|
-
"description": "Generic (any HTTP(S) server) options.\nIn all publish options [File Macros](
|
|
1508
|
+
"description": "Generic (any HTTP(S) server) options.\nIn all publish options [File Macros](https://www.electron.build/file-patterns#file-macros) are supported.",
|
|
1448
1509
|
"properties": {
|
|
1449
1510
|
"channel": {
|
|
1450
1511
|
"default": "latest",
|
|
@@ -1538,7 +1599,7 @@
|
|
|
1538
1599
|
]
|
|
1539
1600
|
},
|
|
1540
1601
|
"private": {
|
|
1541
|
-
"description": "Whether to use private github auto-update provider if `GH_TOKEN` environment variable is defined. See [Private GitHub Update Repo](
|
|
1602
|
+
"description": "Whether to use private github auto-update provider if `GH_TOKEN` environment variable is defined. See [Private GitHub Update Repo](https://www.electron.build/auto-update#private-github-update-repo).",
|
|
1542
1603
|
"type": [
|
|
1543
1604
|
"null",
|
|
1544
1605
|
"boolean"
|
|
@@ -1624,7 +1685,7 @@
|
|
|
1624
1685
|
]
|
|
1625
1686
|
},
|
|
1626
1687
|
"token": {
|
|
1627
|
-
"description": "The access token to support auto-update from private github repositories. Never specify it in the configuration files. Only for [setFeedURL](
|
|
1688
|
+
"description": "The access token to support auto-update from private github repositories. Never specify it in the configuration files. Only for [setFeedURL](https://www.electron.build/auto-update#appupdatersetfeedurloptions).",
|
|
1628
1689
|
"type": [
|
|
1629
1690
|
"null",
|
|
1630
1691
|
"string"
|
|
@@ -1854,7 +1915,7 @@
|
|
|
1854
1915
|
]
|
|
1855
1916
|
},
|
|
1856
1917
|
"artifactName": {
|
|
1857
|
-
"description": "The [artifact file name template](
|
|
1918
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template). Defaults to `${productName}-${version}.${ext}` (some target can have other defaults, see corresponding options).",
|
|
1858
1919
|
"type": [
|
|
1859
1920
|
"null",
|
|
1860
1921
|
"string"
|
|
@@ -1890,7 +1951,7 @@
|
|
|
1890
1951
|
]
|
|
1891
1952
|
}
|
|
1892
1953
|
],
|
|
1893
|
-
"description": "A [glob patterns](
|
|
1954
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](#directories), which specifies which files to unpack when creating the [asar](http://electron.atom.io/docs/tutorial/application-packaging/) archive."
|
|
1894
1955
|
},
|
|
1895
1956
|
"category": {
|
|
1896
1957
|
"description": "The [application category](https://specifications.freedesktop.org/menu-spec/latest/apa.html#main-category-registry).",
|
|
@@ -1929,10 +1990,11 @@
|
|
|
1929
1990
|
]
|
|
1930
1991
|
},
|
|
1931
1992
|
"defaultArch": {
|
|
1993
|
+
"description": "The default architecture to build for when no `--arch` flag is specified.\nDefaults to the current machine's architecture.",
|
|
1932
1994
|
"type": "string"
|
|
1933
1995
|
},
|
|
1934
1996
|
"description": {
|
|
1935
|
-
"description": "As [description](
|
|
1997
|
+
"description": "As [description](https://www.electron.build/configuration#description) from application package.json, but allows you to specify different for Linux.",
|
|
1936
1998
|
"type": [
|
|
1937
1999
|
"null",
|
|
1938
2000
|
"string"
|
|
@@ -1977,7 +2039,7 @@
|
|
|
1977
2039
|
"description": "The electron locales to keep. By default, all Electron locales used as-is."
|
|
1978
2040
|
},
|
|
1979
2041
|
"electronUpdaterCompatibility": {
|
|
1980
|
-
"description": "The [electron-updater compatibility](
|
|
2042
|
+
"description": "The [electron-updater compatibility](https://www.electron.build/auto-update#compatibility) semver range.",
|
|
1981
2043
|
"type": [
|
|
1982
2044
|
"null",
|
|
1983
2045
|
"string"
|
|
@@ -2056,7 +2118,7 @@
|
|
|
2056
2118
|
]
|
|
2057
2119
|
}
|
|
2058
2120
|
],
|
|
2059
|
-
"description": "A [glob patterns](
|
|
2121
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the project directory, when specified, copy the file or directory with matching names directly into the app's resources directory (`Contents/Resources` for MacOS, `resources` for Linux and Windows).\n\nFile patterns (and support for `from` and `to` fields) the same as for [files](#files)."
|
|
2060
2122
|
},
|
|
2061
2123
|
"fileAssociations": {
|
|
2062
2124
|
"anyOf": [
|
|
@@ -2097,9 +2159,10 @@
|
|
|
2097
2159
|
]
|
|
2098
2160
|
}
|
|
2099
2161
|
],
|
|
2100
|
-
"description": "A [glob patterns](
|
|
2162
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](https://www.electron.build/configuration#directories), which specifies which files to include when copying files to create the package.\n\nDefaults to:\n```json\n[\n\"**\\/*\",\n\"!**\\/node_modules/*\\/{CHANGELOG.md,README.md,README,readme.md,readme}\",\n\"!**\\/node_modules/*\\/{test,__tests__,tests,powered-test,example,examples}\",\n\"!**\\/node_modules/*.d.ts\",\n\"!**\\/node_modules/.bin\",\n\"!**\\/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}\",\n\"!.editorconfig\",\n\"!**\\/._*\",\n\"!**\\/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}\",\n\"!**\\/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}\",\n\"!**\\/{appveyor.yml,.travis.yml,circle.yml}\",\n\"!**\\/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}\"\n]\n```\n\nDevelopment dependencies are never copied in any case. You don't need to ignore it explicitly. Hidden files are not ignored by default, but all files that should be ignored, are ignored by default.\n\nDefault pattern \\`**\\/*\\` **is not added to your custom** if some of your patterns is not ignore (i.e. not starts with `!`). `package.json` and \\`**\\/node_modules/**\\/*` (only production dependencies will be copied) is added to your custom in any case. All default ignores are added in any case — you don't need to repeat it if you configure own patterns.\n\nMay be specified in the platform options (e.g. in the [mac](https://www.electron.build/mac)).\n\nYou may also specify custom source and destination directories by using `FileSet` objects instead of simple glob patterns.\n\n```json\n[\n{\n\"from\": \"path/to/source\",\n\"to\": \"path/to/destination\",\n\"filter\": [\"**\\/*\", \"!foo/*.js\"]\n}\n]\n```\n\nYou can use [file macros](https://www.electron.build/file-patterns#file-macros) in the `from` and `to` fields as well. `from` and `to` can be files and you can use this to [rename](https://github.com/electron-userland/electron-builder/issues/1119) a file while packaging."
|
|
2101
2163
|
},
|
|
2102
2164
|
"forceCodeSigning": {
|
|
2165
|
+
"default": false,
|
|
2103
2166
|
"description": "Whether to fail if app will be not code signed.",
|
|
2104
2167
|
"type": "boolean"
|
|
2105
2168
|
},
|
|
@@ -2109,11 +2172,11 @@
|
|
|
2109
2172
|
"type": "boolean"
|
|
2110
2173
|
},
|
|
2111
2174
|
"icon": {
|
|
2112
|
-
"description": "The path to icon set directory or one png file, relative to the [build resources](
|
|
2175
|
+
"description": "The path to icon set directory or one png file, relative to the [build resources](https://www.electron.build/contents#extraresources) or to the project directory. The icon filename must contain the size (e.g. 32x32.png) of the icon.\nBy default will be generated automatically based on the macOS icns file.",
|
|
2113
2176
|
"type": "string"
|
|
2114
2177
|
},
|
|
2115
2178
|
"maintainer": {
|
|
2116
|
-
"description": "The maintainer. Defaults to [author](
|
|
2179
|
+
"description": "The maintainer. Defaults to [author](https://www.electron.build/configuration#author).",
|
|
2117
2180
|
"type": [
|
|
2118
2181
|
"null",
|
|
2119
2182
|
"string"
|
|
@@ -2134,7 +2197,6 @@
|
|
|
2134
2197
|
"description": "The mime types in addition to specified in the file associations. Use it if you don't want to register a new mime type, but reuse existing."
|
|
2135
2198
|
},
|
|
2136
2199
|
"packageCategory": {
|
|
2137
|
-
"description": "backward compatibility + to allow specify fpm-only category for all possible fpm targets in one place",
|
|
2138
2200
|
"type": [
|
|
2139
2201
|
"null",
|
|
2140
2202
|
"string"
|
|
@@ -2196,7 +2258,7 @@
|
|
|
2196
2258
|
]
|
|
2197
2259
|
}
|
|
2198
2260
|
],
|
|
2199
|
-
"description": "Publisher configuration. See [Auto Update](
|
|
2261
|
+
"description": "Publisher configuration. See [Auto Update](https://www.electron.build/publish) for more information."
|
|
2200
2262
|
},
|
|
2201
2263
|
"releaseInfo": {
|
|
2202
2264
|
"$ref": "#/definitions/ReleaseInfo",
|
|
@@ -2235,10 +2297,10 @@
|
|
|
2235
2297
|
}
|
|
2236
2298
|
],
|
|
2237
2299
|
"default": "AppImage",
|
|
2238
|
-
"description": "Target package type: list of `AppImage`, `flatpak`, `snap`, `deb`, `rpm`, `freebsd`, `pacman`, `p5p`, `apk`, `7z`, `zip`, `tar.xz`, `tar.lz`, `tar.gz`, `tar.bz2`, `dir`.\n\nelectron-builder [docker image](
|
|
2300
|
+
"description": "Target package type: list of `AppImage`, `flatpak`, `snap`, `deb`, `rpm`, `freebsd`, `pacman`, `p5p`, `apk`, `7z`, `zip`, `tar.xz`, `tar.lz`, `tar.gz`, `tar.bz2`, `dir`.\n\nelectron-builder [docker image](https://www.electron.build/multi-platform-build#docker) can be used to build Linux targets on any platform.\n\nPlease [do not put an AppImage into another archive](https://github.com/probonopd/AppImageKit/wiki/Creating-AppImages#common-mistake) like a .zip or .tar.gz."
|
|
2239
2301
|
},
|
|
2240
2302
|
"vendor": {
|
|
2241
|
-
"description": "The vendor. Defaults to [author](
|
|
2303
|
+
"description": "The vendor. Defaults to [author](https://www.electron.build/configuration#author).",
|
|
2242
2304
|
"type": [
|
|
2243
2305
|
"null",
|
|
2244
2306
|
"string"
|
|
@@ -2301,7 +2363,7 @@
|
|
|
2301
2363
|
]
|
|
2302
2364
|
},
|
|
2303
2365
|
"artifactName": {
|
|
2304
|
-
"description": "The [artifact file name template](
|
|
2366
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
2305
2367
|
"type": [
|
|
2306
2368
|
"null",
|
|
2307
2369
|
"string"
|
|
@@ -2320,8 +2382,11 @@
|
|
|
2320
2382
|
"enum": [
|
|
2321
2383
|
"bzip2",
|
|
2322
2384
|
"gz",
|
|
2323
|
-
"
|
|
2324
|
-
"xz"
|
|
2385
|
+
"gzip",
|
|
2386
|
+
"xz",
|
|
2387
|
+
"xzmt",
|
|
2388
|
+
"zst",
|
|
2389
|
+
"zstd"
|
|
2325
2390
|
],
|
|
2326
2391
|
"type": "string"
|
|
2327
2392
|
},
|
|
@@ -2330,7 +2395,7 @@
|
|
|
2330
2395
|
}
|
|
2331
2396
|
],
|
|
2332
2397
|
"default": "xz",
|
|
2333
|
-
"description": "The compression type."
|
|
2398
|
+
"description": "The compression type passed to fpm. For `deb`, `rpm`, and `pacman` targets prefer the\ntyped per-format interfaces (`DebOptions`, `RpmOptions`, `PacmanOptions`) which narrow\nthis to only the values that fpm actually accepts for that format."
|
|
2334
2399
|
},
|
|
2335
2400
|
"depends": {
|
|
2336
2401
|
"anyOf": [
|
|
@@ -2347,7 +2412,7 @@
|
|
|
2347
2412
|
"description": "Package dependencies.\n`rpm` defaults to `[\"gtk3\", \"libnotify\", \"nss\", \"libXScrnSaver\", \"(libXtst or libXtst6)\", \"xdg-utils\", \"at-spi2-core\", \"(libuuid or libuuid1)\"]`\n`pacman` defaults to `[\"c-ares\", \"ffmpeg\", \"gtk3\", \"http-parser\", \"libevent\", \"libvpx\", \"libxslt\", \"libxss\", \"minizip\", \"nss\", \"re2\", \"snappy\", \"libnotify\", \"libappindicator-gtk3\"]`"
|
|
2348
2413
|
},
|
|
2349
2414
|
"description": {
|
|
2350
|
-
"description": "As [description](
|
|
2415
|
+
"description": "As [description](https://www.electron.build/configuration#description) from application package.json, but allows you to specify different for Linux.",
|
|
2351
2416
|
"type": [
|
|
2352
2417
|
"null",
|
|
2353
2418
|
"string"
|
|
@@ -2514,7 +2579,7 @@
|
|
|
2514
2579
|
]
|
|
2515
2580
|
},
|
|
2516
2581
|
"artifactName": {
|
|
2517
|
-
"description": "The [artifact file name template](
|
|
2582
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template). Defaults to `${productName}-${version}.${ext}` (some target can have other defaults, see corresponding options).",
|
|
2518
2583
|
"type": [
|
|
2519
2584
|
"null",
|
|
2520
2585
|
"string"
|
|
@@ -2550,7 +2615,7 @@
|
|
|
2550
2615
|
]
|
|
2551
2616
|
}
|
|
2552
2617
|
],
|
|
2553
|
-
"description": "A [glob patterns](
|
|
2618
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](#directories), which specifies which files to unpack when creating the [asar](http://electron.atom.io/docs/tutorial/application-packaging/) archive."
|
|
2554
2619
|
},
|
|
2555
2620
|
"binaries": {
|
|
2556
2621
|
"anyOf": [
|
|
@@ -2634,6 +2699,7 @@
|
|
|
2634
2699
|
"type": "boolean"
|
|
2635
2700
|
},
|
|
2636
2701
|
"defaultArch": {
|
|
2702
|
+
"description": "The default architecture to build for when no `--arch` flag is specified.\nDefaults to the current machine's architecture.",
|
|
2637
2703
|
"type": "string"
|
|
2638
2704
|
},
|
|
2639
2705
|
"detectUpdateChannel": {
|
|
@@ -2664,14 +2730,14 @@
|
|
|
2664
2730
|
"description": "The electron locales to keep. By default, all Electron locales used as-is."
|
|
2665
2731
|
},
|
|
2666
2732
|
"electronUpdaterCompatibility": {
|
|
2667
|
-
"description": "The [electron-updater compatibility](
|
|
2733
|
+
"description": "The [electron-updater compatibility](https://www.electron.build/auto-update#compatibility) semver range.",
|
|
2668
2734
|
"type": [
|
|
2669
2735
|
"null",
|
|
2670
2736
|
"string"
|
|
2671
2737
|
]
|
|
2672
2738
|
},
|
|
2673
2739
|
"entitlements": {
|
|
2674
|
-
"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](
|
|
2740
|
+
"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.",
|
|
2675
2741
|
"type": [
|
|
2676
2742
|
"null",
|
|
2677
2743
|
"string"
|
|
@@ -2770,7 +2836,7 @@
|
|
|
2770
2836
|
]
|
|
2771
2837
|
}
|
|
2772
2838
|
],
|
|
2773
|
-
"description": "A [glob patterns](
|
|
2839
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the project directory, when specified, copy the file or directory with matching names directly into the app's resources directory (`Contents/Resources` for MacOS, `resources` for Linux and Windows).\n\nFile patterns (and support for `from` and `to` fields) the same as for [files](#files)."
|
|
2774
2840
|
},
|
|
2775
2841
|
"fileAssociations": {
|
|
2776
2842
|
"anyOf": [
|
|
@@ -2811,9 +2877,10 @@
|
|
|
2811
2877
|
]
|
|
2812
2878
|
}
|
|
2813
2879
|
],
|
|
2814
|
-
"description": "A [glob patterns](
|
|
2880
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](https://www.electron.build/configuration#directories), which specifies which files to include when copying files to create the package.\n\nDefaults to:\n```json\n[\n\"**\\/*\",\n\"!**\\/node_modules/*\\/{CHANGELOG.md,README.md,README,readme.md,readme}\",\n\"!**\\/node_modules/*\\/{test,__tests__,tests,powered-test,example,examples}\",\n\"!**\\/node_modules/*.d.ts\",\n\"!**\\/node_modules/.bin\",\n\"!**\\/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}\",\n\"!.editorconfig\",\n\"!**\\/._*\",\n\"!**\\/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}\",\n\"!**\\/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}\",\n\"!**\\/{appveyor.yml,.travis.yml,circle.yml}\",\n\"!**\\/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}\"\n]\n```\n\nDevelopment dependencies are never copied in any case. You don't need to ignore it explicitly. Hidden files are not ignored by default, but all files that should be ignored, are ignored by default.\n\nDefault pattern \\`**\\/*\\` **is not added to your custom** if some of your patterns is not ignore (i.e. not starts with `!`). `package.json` and \\`**\\/node_modules/**\\/*` (only production dependencies will be copied) is added to your custom in any case. All default ignores are added in any case — you don't need to repeat it if you configure own patterns.\n\nMay be specified in the platform options (e.g. in the [mac](https://www.electron.build/mac)).\n\nYou may also specify custom source and destination directories by using `FileSet` objects instead of simple glob patterns.\n\n```json\n[\n{\n\"from\": \"path/to/source\",\n\"to\": \"path/to/destination\",\n\"filter\": [\"**\\/*\", \"!foo/*.js\"]\n}\n]\n```\n\nYou can use [file macros](https://www.electron.build/file-patterns#file-macros) in the `from` and `to` fields as well. `from` and `to` can be files and you can use this to [rename](https://github.com/electron-userland/electron-builder/issues/1119) a file while packaging."
|
|
2815
2881
|
},
|
|
2816
2882
|
"forceCodeSigning": {
|
|
2883
|
+
"default": false,
|
|
2817
2884
|
"description": "Whether to fail if app will be not code signed.",
|
|
2818
2885
|
"type": "boolean"
|
|
2819
2886
|
},
|
|
@@ -2889,7 +2956,7 @@
|
|
|
2889
2956
|
]
|
|
2890
2957
|
},
|
|
2891
2958
|
"identity": {
|
|
2892
|
-
"description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](
|
|
2959
|
+
"description": "The name of certificate 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\nSet to `-` to use an ad-hoc identity for signing. Set to `null` to skip signing entirely.",
|
|
2893
2960
|
"type": [
|
|
2894
2961
|
"null",
|
|
2895
2962
|
"string"
|
|
@@ -2979,7 +3046,7 @@
|
|
|
2979
3046
|
]
|
|
2980
3047
|
}
|
|
2981
3048
|
],
|
|
2982
|
-
"description": "Publisher configuration. See [Auto Update](
|
|
3049
|
+
"description": "Publisher configuration. See [Auto Update](https://www.electron.build/publish) for more information."
|
|
2983
3050
|
},
|
|
2984
3051
|
"releaseInfo": {
|
|
2985
3052
|
"$ref": "#/definitions/ReleaseInfo",
|
|
@@ -3088,7 +3155,8 @@
|
|
|
3088
3155
|
"type": "null"
|
|
3089
3156
|
}
|
|
3090
3157
|
],
|
|
3091
|
-
"
|
|
3158
|
+
"default": "default (dmg and zip for Squirrel.Mac)",
|
|
3159
|
+
"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."
|
|
3092
3160
|
},
|
|
3093
3161
|
"timestamp": {
|
|
3094
3162
|
"description": "Specify the URL of the timestamp authority server",
|
|
@@ -3149,7 +3217,7 @@
|
|
|
3149
3217
|
]
|
|
3150
3218
|
},
|
|
3151
3219
|
"artifactName": {
|
|
3152
|
-
"description": "The [artifact file name template](
|
|
3220
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template). Defaults to `${productName}-${version}.${ext}` (some target can have other defaults, see corresponding options).",
|
|
3153
3221
|
"type": [
|
|
3154
3222
|
"null",
|
|
3155
3223
|
"string"
|
|
@@ -3185,7 +3253,7 @@
|
|
|
3185
3253
|
]
|
|
3186
3254
|
}
|
|
3187
3255
|
],
|
|
3188
|
-
"description": "A [glob patterns](
|
|
3256
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](#directories), which specifies which files to unpack when creating the [asar](http://electron.atom.io/docs/tutorial/application-packaging/) archive."
|
|
3189
3257
|
},
|
|
3190
3258
|
"binaries": {
|
|
3191
3259
|
"anyOf": [
|
|
@@ -3269,6 +3337,7 @@
|
|
|
3269
3337
|
"type": "boolean"
|
|
3270
3338
|
},
|
|
3271
3339
|
"defaultArch": {
|
|
3340
|
+
"description": "The default architecture to build for when no `--arch` flag is specified.\nDefaults to the current machine's architecture.",
|
|
3272
3341
|
"type": "string"
|
|
3273
3342
|
},
|
|
3274
3343
|
"detectUpdateChannel": {
|
|
@@ -3299,7 +3368,7 @@
|
|
|
3299
3368
|
"description": "The electron locales to keep. By default, all Electron locales used as-is."
|
|
3300
3369
|
},
|
|
3301
3370
|
"electronUpdaterCompatibility": {
|
|
3302
|
-
"description": "The [electron-updater compatibility](
|
|
3371
|
+
"description": "The [electron-updater compatibility](https://www.electron.build/auto-update#compatibility) semver range.",
|
|
3303
3372
|
"type": [
|
|
3304
3373
|
"null",
|
|
3305
3374
|
"string"
|
|
@@ -3405,7 +3474,7 @@
|
|
|
3405
3474
|
]
|
|
3406
3475
|
}
|
|
3407
3476
|
],
|
|
3408
|
-
"description": "A [glob patterns](
|
|
3477
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the project directory, when specified, copy the file or directory with matching names directly into the app's resources directory (`Contents/Resources` for MacOS, `resources` for Linux and Windows).\n\nFile patterns (and support for `from` and `to` fields) the same as for [files](#files)."
|
|
3409
3478
|
},
|
|
3410
3479
|
"fileAssociations": {
|
|
3411
3480
|
"anyOf": [
|
|
@@ -3446,9 +3515,10 @@
|
|
|
3446
3515
|
]
|
|
3447
3516
|
}
|
|
3448
3517
|
],
|
|
3449
|
-
"description": "A [glob patterns](
|
|
3518
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](https://www.electron.build/configuration#directories), which specifies which files to include when copying files to create the package.\n\nDefaults to:\n```json\n[\n\"**\\/*\",\n\"!**\\/node_modules/*\\/{CHANGELOG.md,README.md,README,readme.md,readme}\",\n\"!**\\/node_modules/*\\/{test,__tests__,tests,powered-test,example,examples}\",\n\"!**\\/node_modules/*.d.ts\",\n\"!**\\/node_modules/.bin\",\n\"!**\\/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}\",\n\"!.editorconfig\",\n\"!**\\/._*\",\n\"!**\\/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}\",\n\"!**\\/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}\",\n\"!**\\/{appveyor.yml,.travis.yml,circle.yml}\",\n\"!**\\/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}\"\n]\n```\n\nDevelopment dependencies are never copied in any case. You don't need to ignore it explicitly. Hidden files are not ignored by default, but all files that should be ignored, are ignored by default.\n\nDefault pattern \\`**\\/*\\` **is not added to your custom** if some of your patterns is not ignore (i.e. not starts with `!`). `package.json` and \\`**\\/node_modules/**\\/*` (only production dependencies will be copied) is added to your custom in any case. All default ignores are added in any case — you don't need to repeat it if you configure own patterns.\n\nMay be specified in the platform options (e.g. in the [mac](https://www.electron.build/mac)).\n\nYou may also specify custom source and destination directories by using `FileSet` objects instead of simple glob patterns.\n\n```json\n[\n{\n\"from\": \"path/to/source\",\n\"to\": \"path/to/destination\",\n\"filter\": [\"**\\/*\", \"!foo/*.js\"]\n}\n]\n```\n\nYou can use [file macros](https://www.electron.build/file-patterns#file-macros) in the `from` and `to` fields as well. `from` and `to` can be files and you can use this to [rename](https://github.com/electron-userland/electron-builder/issues/1119) a file while packaging."
|
|
3450
3519
|
},
|
|
3451
3520
|
"forceCodeSigning": {
|
|
3521
|
+
"default": false,
|
|
3452
3522
|
"description": "Whether to fail if app will be not code signed.",
|
|
3453
3523
|
"type": "boolean"
|
|
3454
3524
|
},
|
|
@@ -3524,7 +3594,7 @@
|
|
|
3524
3594
|
]
|
|
3525
3595
|
},
|
|
3526
3596
|
"identity": {
|
|
3527
|
-
"description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](
|
|
3597
|
+
"description": "The name of certificate 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\nSet to `-` to use an ad-hoc identity for signing. Set to `null` to skip signing entirely.",
|
|
3528
3598
|
"type": [
|
|
3529
3599
|
"null",
|
|
3530
3600
|
"string"
|
|
@@ -3614,7 +3684,7 @@
|
|
|
3614
3684
|
]
|
|
3615
3685
|
}
|
|
3616
3686
|
],
|
|
3617
|
-
"description": "Publisher configuration. See [Auto Update](
|
|
3687
|
+
"description": "Publisher configuration. See [Auto Update](https://www.electron.build/publish) for more information."
|
|
3618
3688
|
},
|
|
3619
3689
|
"releaseInfo": {
|
|
3620
3690
|
"$ref": "#/definitions/ReleaseInfo",
|
|
@@ -3723,7 +3793,8 @@
|
|
|
3723
3793
|
"type": "null"
|
|
3724
3794
|
}
|
|
3725
3795
|
],
|
|
3726
|
-
"
|
|
3796
|
+
"default": "default (dmg and zip for Squirrel.Mac)",
|
|
3797
|
+
"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."
|
|
3727
3798
|
},
|
|
3728
3799
|
"timestamp": {
|
|
3729
3800
|
"description": "Specify the URL of the timestamp authority server",
|
|
@@ -3778,7 +3849,7 @@
|
|
|
3778
3849
|
},
|
|
3779
3850
|
"output": {
|
|
3780
3851
|
"default": "dist",
|
|
3781
|
-
"description": "The output directory. [File macros](
|
|
3852
|
+
"description": "The output directory. [File macros](https://www.electron.build/file-patterns#file-macros) are supported.",
|
|
3782
3853
|
"type": [
|
|
3783
3854
|
"null",
|
|
3784
3855
|
"string"
|
|
@@ -3819,7 +3890,7 @@
|
|
|
3819
3890
|
"description": "Any additional arguments to be passed to the WiX installer compiler, such as `[\"-ext\", \"WixUtilExtension\"]`"
|
|
3820
3891
|
},
|
|
3821
3892
|
"artifactName": {
|
|
3822
|
-
"description": "The [artifact file name template](
|
|
3893
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
3823
3894
|
"type": [
|
|
3824
3895
|
"null",
|
|
3825
3896
|
"string"
|
|
@@ -3945,7 +4016,7 @@
|
|
|
3945
4016
|
"description": "Any additional arguments to be passed to the WiX installer compiler, such as `[\"-ext\", \"WixUtilExtension\"]`"
|
|
3946
4017
|
},
|
|
3947
4018
|
"artifactName": {
|
|
3948
|
-
"description": "The [artifact file name template](
|
|
4019
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
3949
4020
|
"type": [
|
|
3950
4021
|
"null",
|
|
3951
4022
|
"string"
|
|
@@ -4077,7 +4148,7 @@
|
|
|
4077
4148
|
"type": "boolean"
|
|
4078
4149
|
},
|
|
4079
4150
|
"artifactName": {
|
|
4080
|
-
"description": "The [artifact file name template](
|
|
4151
|
+
"description": "The [artifact file name template](https://www.electron.build/docs/configuration#artifact-file-name-template). Defaults to `${productName} Setup ${version}.${ext}`.",
|
|
4081
4152
|
"type": [
|
|
4082
4153
|
"null",
|
|
4083
4154
|
"string"
|
|
@@ -4130,6 +4201,7 @@
|
|
|
4130
4201
|
"type": "boolean"
|
|
4131
4202
|
},
|
|
4132
4203
|
"differentialPackage": {
|
|
4204
|
+
"description": "Marks the package as built with differential download support for the update server.",
|
|
4133
4205
|
"type": "boolean"
|
|
4134
4206
|
},
|
|
4135
4207
|
"displayLanguageSelector": {
|
|
@@ -4138,7 +4210,7 @@
|
|
|
4138
4210
|
"type": "boolean"
|
|
4139
4211
|
},
|
|
4140
4212
|
"guid": {
|
|
4141
|
-
"description": "
|
|
4213
|
+
"description": "The GUID for the installer. Used to identify the application for upgrade and uninstall operations.\nIf not specified, a deterministic GUID is generated from the app ID (`appId`) — but this means\nchanging your `appId` will break silent upgrades of existing installs.",
|
|
4142
4214
|
"type": [
|
|
4143
4215
|
"null",
|
|
4144
4216
|
"string"
|
|
@@ -4153,21 +4225,21 @@
|
|
|
4153
4225
|
},
|
|
4154
4226
|
"installerHeader": {
|
|
4155
4227
|
"default": "build/installerHeader.bmp",
|
|
4156
|
-
"description": "*assisted installer only.* `MUI_HEADERIMAGE`, relative to the [build resources](
|
|
4228
|
+
"description": "*assisted installer only.* `MUI_HEADERIMAGE`, relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.",
|
|
4157
4229
|
"type": [
|
|
4158
4230
|
"null",
|
|
4159
4231
|
"string"
|
|
4160
4232
|
]
|
|
4161
4233
|
},
|
|
4162
4234
|
"installerHeaderIcon": {
|
|
4163
|
-
"description": "*one-click installer only.* The path to header icon (above the progress bar), relative to the [build resources](
|
|
4235
|
+
"description": "*one-click installer only.* The path to header icon (above the progress bar), relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.\nDefaults to `build/installerHeaderIcon.ico` or application icon.",
|
|
4164
4236
|
"type": [
|
|
4165
4237
|
"null",
|
|
4166
4238
|
"string"
|
|
4167
4239
|
]
|
|
4168
4240
|
},
|
|
4169
4241
|
"installerIcon": {
|
|
4170
|
-
"description": "The path to installer icon, relative to the [build resources](
|
|
4242
|
+
"description": "The path to installer icon, relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.\nDefaults to `build/installerIcon.ico` or application icon.",
|
|
4171
4243
|
"type": [
|
|
4172
4244
|
"null",
|
|
4173
4245
|
"string"
|
|
@@ -4191,7 +4263,7 @@
|
|
|
4191
4263
|
"description": "The installer languages (e.g. `en_US`, `de_DE`). Change only if you understand what do you do and for what."
|
|
4192
4264
|
},
|
|
4193
4265
|
"installerSidebar": {
|
|
4194
|
-
"description": "*assisted installer only.* `MUI_WELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](
|
|
4266
|
+
"description": "*assisted installer only.* `MUI_WELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.\nDefaults to `build/installerSidebar.bmp` or `${NSISDIR}\\\\Contrib\\\\Graphics\\\\Wizard\\\\nsis3-metro.bmp`. Image size 164 × 314 pixels.",
|
|
4195
4267
|
"type": [
|
|
4196
4268
|
"null",
|
|
4197
4269
|
"string"
|
|
@@ -4352,42 +4424,42 @@
|
|
|
4352
4424
|
]
|
|
4353
4425
|
},
|
|
4354
4426
|
"uninstallUrlHelp": {
|
|
4355
|
-
"description": "The URL to the uninstaller help page in the control panel. Defaults to [homepage](
|
|
4427
|
+
"description": "The URL to the uninstaller help page in the control panel. Defaults to [homepage](https://www.electron.build/docs/configuration#homepage) from application package.json.",
|
|
4356
4428
|
"type": [
|
|
4357
4429
|
"null",
|
|
4358
4430
|
"string"
|
|
4359
4431
|
]
|
|
4360
4432
|
},
|
|
4361
4433
|
"uninstallUrlInfoAbout": {
|
|
4362
|
-
"description": "The URL to the uninstaller info about page in the control panel. Defaults to [homepage](
|
|
4434
|
+
"description": "The URL to the uninstaller info about page in the control panel. Defaults to [homepage](https://www.electron.build/docs/configuration#homepage) from application package.json.",
|
|
4363
4435
|
"type": [
|
|
4364
4436
|
"null",
|
|
4365
4437
|
"string"
|
|
4366
4438
|
]
|
|
4367
4439
|
},
|
|
4368
4440
|
"uninstallUrlReadme": {
|
|
4369
|
-
"description": "The URL to the uninstaller readme page in the control panel. Defaults to [homepage](
|
|
4441
|
+
"description": "The URL to the uninstaller readme page in the control panel. Defaults to [homepage](https://www.electron.build/docs/configuration#homepage) from application package.json.",
|
|
4370
4442
|
"type": [
|
|
4371
4443
|
"null",
|
|
4372
4444
|
"string"
|
|
4373
4445
|
]
|
|
4374
4446
|
},
|
|
4375
4447
|
"uninstallUrlUpdateInfo": {
|
|
4376
|
-
"description": "The URL to the uninstaller update info page in the control panel. Defaults to [homepage](
|
|
4448
|
+
"description": "The URL to the uninstaller update info page in the control panel. Defaults to [homepage](https://www.electron.build/docs/configuration#homepage) from application package.json.",
|
|
4377
4449
|
"type": [
|
|
4378
4450
|
"null",
|
|
4379
4451
|
"string"
|
|
4380
4452
|
]
|
|
4381
4453
|
},
|
|
4382
4454
|
"uninstallerIcon": {
|
|
4383
|
-
"description": "The path to uninstaller icon, relative to the [build resources](
|
|
4455
|
+
"description": "The path to uninstaller icon, relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.\nDefaults to `build/uninstallerIcon.ico` or application icon.",
|
|
4384
4456
|
"type": [
|
|
4385
4457
|
"null",
|
|
4386
4458
|
"string"
|
|
4387
4459
|
]
|
|
4388
4460
|
},
|
|
4389
4461
|
"uninstallerSidebar": {
|
|
4390
|
-
"description": "*assisted installer only.* `MUI_UNWELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](
|
|
4462
|
+
"description": "*assisted installer only.* `MUI_UNWELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.\nDefaults to `installerSidebar` option or `build/uninstallerSidebar.bmp` or `build/installerSidebar.bmp` or `${NSISDIR}\\\\Contrib\\\\Graphics\\\\Wizard\\\\nsis3-metro.bmp`",
|
|
4391
4463
|
"type": [
|
|
4392
4464
|
"null",
|
|
4393
4465
|
"string"
|
|
@@ -4395,6 +4467,7 @@
|
|
|
4395
4467
|
},
|
|
4396
4468
|
"useZip": {
|
|
4397
4469
|
"default": false,
|
|
4470
|
+
"description": "Forces zip compression format instead of LZMA. Used internally for differential update packages.",
|
|
4398
4471
|
"type": "boolean"
|
|
4399
4472
|
},
|
|
4400
4473
|
"warningsAsErrors": {
|
|
@@ -4427,7 +4500,7 @@
|
|
|
4427
4500
|
]
|
|
4428
4501
|
},
|
|
4429
4502
|
"artifactName": {
|
|
4430
|
-
"description": "The [artifact file name template](
|
|
4503
|
+
"description": "The [artifact file name template](https://www.electron.build/docs/configuration#artifact-file-name-template). Defaults to `${productName} Web Setup ${version}.${ext}`.",
|
|
4431
4504
|
"type": [
|
|
4432
4505
|
"null",
|
|
4433
4506
|
"string"
|
|
@@ -4481,6 +4554,7 @@
|
|
|
4481
4554
|
"type": "boolean"
|
|
4482
4555
|
},
|
|
4483
4556
|
"differentialPackage": {
|
|
4557
|
+
"description": "Marks the package as built with differential download support for the update server.",
|
|
4484
4558
|
"type": "boolean"
|
|
4485
4559
|
},
|
|
4486
4560
|
"displayLanguageSelector": {
|
|
@@ -4489,7 +4563,7 @@
|
|
|
4489
4563
|
"type": "boolean"
|
|
4490
4564
|
},
|
|
4491
4565
|
"guid": {
|
|
4492
|
-
"description": "
|
|
4566
|
+
"description": "The GUID for the installer. Used to identify the application for upgrade and uninstall operations.\nIf not specified, a deterministic GUID is generated from the app ID (`appId`) — but this means\nchanging your `appId` will break silent upgrades of existing installs.",
|
|
4493
4567
|
"type": [
|
|
4494
4568
|
"null",
|
|
4495
4569
|
"string"
|
|
@@ -4504,21 +4578,21 @@
|
|
|
4504
4578
|
},
|
|
4505
4579
|
"installerHeader": {
|
|
4506
4580
|
"default": "build/installerHeader.bmp",
|
|
4507
|
-
"description": "*assisted installer only.* `MUI_HEADERIMAGE`, relative to the [build resources](
|
|
4581
|
+
"description": "*assisted installer only.* `MUI_HEADERIMAGE`, relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.",
|
|
4508
4582
|
"type": [
|
|
4509
4583
|
"null",
|
|
4510
4584
|
"string"
|
|
4511
4585
|
]
|
|
4512
4586
|
},
|
|
4513
4587
|
"installerHeaderIcon": {
|
|
4514
|
-
"description": "*one-click installer only.* The path to header icon (above the progress bar), relative to the [build resources](
|
|
4588
|
+
"description": "*one-click installer only.* The path to header icon (above the progress bar), relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.\nDefaults to `build/installerHeaderIcon.ico` or application icon.",
|
|
4515
4589
|
"type": [
|
|
4516
4590
|
"null",
|
|
4517
4591
|
"string"
|
|
4518
4592
|
]
|
|
4519
4593
|
},
|
|
4520
4594
|
"installerIcon": {
|
|
4521
|
-
"description": "The path to installer icon, relative to the [build resources](
|
|
4595
|
+
"description": "The path to installer icon, relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.\nDefaults to `build/installerIcon.ico` or application icon.",
|
|
4522
4596
|
"type": [
|
|
4523
4597
|
"null",
|
|
4524
4598
|
"string"
|
|
@@ -4542,7 +4616,7 @@
|
|
|
4542
4616
|
"description": "The installer languages (e.g. `en_US`, `de_DE`). Change only if you understand what do you do and for what."
|
|
4543
4617
|
},
|
|
4544
4618
|
"installerSidebar": {
|
|
4545
|
-
"description": "*assisted installer only.* `MUI_WELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](
|
|
4619
|
+
"description": "*assisted installer only.* `MUI_WELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.\nDefaults to `build/installerSidebar.bmp` or `${NSISDIR}\\\\Contrib\\\\Graphics\\\\Wizard\\\\nsis3-metro.bmp`. Image size 164 × 314 pixels.",
|
|
4546
4620
|
"type": [
|
|
4547
4621
|
"null",
|
|
4548
4622
|
"string"
|
|
@@ -4703,42 +4777,42 @@
|
|
|
4703
4777
|
]
|
|
4704
4778
|
},
|
|
4705
4779
|
"uninstallUrlHelp": {
|
|
4706
|
-
"description": "The URL to the uninstaller help page in the control panel. Defaults to [homepage](
|
|
4780
|
+
"description": "The URL to the uninstaller help page in the control panel. Defaults to [homepage](https://www.electron.build/docs/configuration#homepage) from application package.json.",
|
|
4707
4781
|
"type": [
|
|
4708
4782
|
"null",
|
|
4709
4783
|
"string"
|
|
4710
4784
|
]
|
|
4711
4785
|
},
|
|
4712
4786
|
"uninstallUrlInfoAbout": {
|
|
4713
|
-
"description": "The URL to the uninstaller info about page in the control panel. Defaults to [homepage](
|
|
4787
|
+
"description": "The URL to the uninstaller info about page in the control panel. Defaults to [homepage](https://www.electron.build/docs/configuration#homepage) from application package.json.",
|
|
4714
4788
|
"type": [
|
|
4715
4789
|
"null",
|
|
4716
4790
|
"string"
|
|
4717
4791
|
]
|
|
4718
4792
|
},
|
|
4719
4793
|
"uninstallUrlReadme": {
|
|
4720
|
-
"description": "The URL to the uninstaller readme page in the control panel. Defaults to [homepage](
|
|
4794
|
+
"description": "The URL to the uninstaller readme page in the control panel. Defaults to [homepage](https://www.electron.build/docs/configuration#homepage) from application package.json.",
|
|
4721
4795
|
"type": [
|
|
4722
4796
|
"null",
|
|
4723
4797
|
"string"
|
|
4724
4798
|
]
|
|
4725
4799
|
},
|
|
4726
4800
|
"uninstallUrlUpdateInfo": {
|
|
4727
|
-
"description": "The URL to the uninstaller update info page in the control panel. Defaults to [homepage](
|
|
4801
|
+
"description": "The URL to the uninstaller update info page in the control panel. Defaults to [homepage](https://www.electron.build/docs/configuration#homepage) from application package.json.",
|
|
4728
4802
|
"type": [
|
|
4729
4803
|
"null",
|
|
4730
4804
|
"string"
|
|
4731
4805
|
]
|
|
4732
4806
|
},
|
|
4733
4807
|
"uninstallerIcon": {
|
|
4734
|
-
"description": "The path to uninstaller icon, relative to the [build resources](
|
|
4808
|
+
"description": "The path to uninstaller icon, relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.\nDefaults to `build/uninstallerIcon.ico` or application icon.",
|
|
4735
4809
|
"type": [
|
|
4736
4810
|
"null",
|
|
4737
4811
|
"string"
|
|
4738
4812
|
]
|
|
4739
4813
|
},
|
|
4740
4814
|
"uninstallerSidebar": {
|
|
4741
|
-
"description": "*assisted installer only.* `MUI_UNWELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](
|
|
4815
|
+
"description": "*assisted installer only.* `MUI_UNWELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](https://www.electron.build/docs/contents#extraresources) or to the project directory.\nDefaults to `installerSidebar` option or `build/uninstallerSidebar.bmp` or `build/installerSidebar.bmp` or `${NSISDIR}\\\\Contrib\\\\Graphics\\\\Wizard\\\\nsis3-metro.bmp`",
|
|
4742
4816
|
"type": [
|
|
4743
4817
|
"null",
|
|
4744
4818
|
"string"
|
|
@@ -4746,6 +4820,7 @@
|
|
|
4746
4820
|
},
|
|
4747
4821
|
"useZip": {
|
|
4748
4822
|
"default": false,
|
|
4823
|
+
"description": "Forces zip compression format instead of LZMA. Used internally for differential update packages.",
|
|
4749
4824
|
"type": "boolean"
|
|
4750
4825
|
},
|
|
4751
4826
|
"warningsAsErrors": {
|
|
@@ -5170,6 +5245,218 @@
|
|
|
5170
5245
|
},
|
|
5171
5246
|
"type": "object"
|
|
5172
5247
|
},
|
|
5248
|
+
"PacmanOptions": {
|
|
5249
|
+
"additionalProperties": false,
|
|
5250
|
+
"properties": {
|
|
5251
|
+
"afterInstall": {
|
|
5252
|
+
"description": "File path to script to be passed to FPM for `--after-install` arg.",
|
|
5253
|
+
"type": [
|
|
5254
|
+
"null",
|
|
5255
|
+
"string"
|
|
5256
|
+
]
|
|
5257
|
+
},
|
|
5258
|
+
"afterRemove": {
|
|
5259
|
+
"description": "File path to script to be passed to FPM for `--after-remove` arg.",
|
|
5260
|
+
"type": [
|
|
5261
|
+
"null",
|
|
5262
|
+
"string"
|
|
5263
|
+
]
|
|
5264
|
+
},
|
|
5265
|
+
"appArmorProfile": {
|
|
5266
|
+
"description": "File path to custom AppArmor profile (Ubuntu 24+)",
|
|
5267
|
+
"type": [
|
|
5268
|
+
"null",
|
|
5269
|
+
"string"
|
|
5270
|
+
]
|
|
5271
|
+
},
|
|
5272
|
+
"artifactName": {
|
|
5273
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
5274
|
+
"type": [
|
|
5275
|
+
"null",
|
|
5276
|
+
"string"
|
|
5277
|
+
]
|
|
5278
|
+
},
|
|
5279
|
+
"category": {
|
|
5280
|
+
"description": "The [application category](https://specifications.freedesktop.org/menu-spec/latest/apa.html#main-category-registry).",
|
|
5281
|
+
"type": [
|
|
5282
|
+
"null",
|
|
5283
|
+
"string"
|
|
5284
|
+
]
|
|
5285
|
+
},
|
|
5286
|
+
"compression": {
|
|
5287
|
+
"anyOf": [
|
|
5288
|
+
{
|
|
5289
|
+
"enum": [
|
|
5290
|
+
"bzip2",
|
|
5291
|
+
"gz",
|
|
5292
|
+
"xz",
|
|
5293
|
+
"zstd"
|
|
5294
|
+
],
|
|
5295
|
+
"type": "string"
|
|
5296
|
+
},
|
|
5297
|
+
{
|
|
5298
|
+
"type": "null"
|
|
5299
|
+
}
|
|
5300
|
+
],
|
|
5301
|
+
"default": "xz",
|
|
5302
|
+
"description": "The compression type passed to fpm. For `deb`, `rpm`, and `pacman` targets prefer the\ntyped per-format interfaces (`DebOptions`, `RpmOptions`, `PacmanOptions`) which narrow\nthis to only the values that fpm actually accepts for that format."
|
|
5303
|
+
},
|
|
5304
|
+
"depends": {
|
|
5305
|
+
"anyOf": [
|
|
5306
|
+
{
|
|
5307
|
+
"items": {
|
|
5308
|
+
"type": "string"
|
|
5309
|
+
},
|
|
5310
|
+
"type": "array"
|
|
5311
|
+
},
|
|
5312
|
+
{
|
|
5313
|
+
"type": "null"
|
|
5314
|
+
}
|
|
5315
|
+
],
|
|
5316
|
+
"description": "Package dependencies.\n`rpm` defaults to `[\"gtk3\", \"libnotify\", \"nss\", \"libXScrnSaver\", \"(libXtst or libXtst6)\", \"xdg-utils\", \"at-spi2-core\", \"(libuuid or libuuid1)\"]`\n`pacman` defaults to `[\"c-ares\", \"ffmpeg\", \"gtk3\", \"http-parser\", \"libevent\", \"libvpx\", \"libxslt\", \"libxss\", \"minizip\", \"nss\", \"re2\", \"snappy\", \"libnotify\", \"libappindicator-gtk3\"]`"
|
|
5317
|
+
},
|
|
5318
|
+
"description": {
|
|
5319
|
+
"description": "As [description](https://www.electron.build/configuration#description) from application package.json, but allows you to specify different for Linux.",
|
|
5320
|
+
"type": [
|
|
5321
|
+
"null",
|
|
5322
|
+
"string"
|
|
5323
|
+
]
|
|
5324
|
+
},
|
|
5325
|
+
"desktop": {
|
|
5326
|
+
"anyOf": [
|
|
5327
|
+
{
|
|
5328
|
+
"$ref": "#/definitions/LinuxDesktopFile"
|
|
5329
|
+
},
|
|
5330
|
+
{
|
|
5331
|
+
"type": "null"
|
|
5332
|
+
}
|
|
5333
|
+
],
|
|
5334
|
+
"description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files)"
|
|
5335
|
+
},
|
|
5336
|
+
"executableArgs": {
|
|
5337
|
+
"anyOf": [
|
|
5338
|
+
{
|
|
5339
|
+
"items": {
|
|
5340
|
+
"type": "string"
|
|
5341
|
+
},
|
|
5342
|
+
"type": "array"
|
|
5343
|
+
},
|
|
5344
|
+
{
|
|
5345
|
+
"type": "null"
|
|
5346
|
+
}
|
|
5347
|
+
],
|
|
5348
|
+
"description": "The executable parameters. Pass to executableName"
|
|
5349
|
+
},
|
|
5350
|
+
"fpm": {
|
|
5351
|
+
"anyOf": [
|
|
5352
|
+
{
|
|
5353
|
+
"items": {
|
|
5354
|
+
"type": "string"
|
|
5355
|
+
},
|
|
5356
|
+
"type": "array"
|
|
5357
|
+
},
|
|
5358
|
+
{
|
|
5359
|
+
"type": "null"
|
|
5360
|
+
}
|
|
5361
|
+
],
|
|
5362
|
+
"description": "*Advanced only* The [fpm](https://fpm.readthedocs.io/en/latest/cli-reference.html) options.\n\nExample: `[\"--before-install=build/deb-preinstall.sh\", \"--after-upgrade=build/deb-postinstall.sh\"]`"
|
|
5363
|
+
},
|
|
5364
|
+
"icon": {
|
|
5365
|
+
"type": "string"
|
|
5366
|
+
},
|
|
5367
|
+
"maintainer": {
|
|
5368
|
+
"type": [
|
|
5369
|
+
"null",
|
|
5370
|
+
"string"
|
|
5371
|
+
]
|
|
5372
|
+
},
|
|
5373
|
+
"mimeTypes": {
|
|
5374
|
+
"anyOf": [
|
|
5375
|
+
{
|
|
5376
|
+
"items": {
|
|
5377
|
+
"type": "string"
|
|
5378
|
+
},
|
|
5379
|
+
"type": "array"
|
|
5380
|
+
},
|
|
5381
|
+
{
|
|
5382
|
+
"type": "null"
|
|
5383
|
+
}
|
|
5384
|
+
],
|
|
5385
|
+
"description": "The mime types in addition to specified in the file associations. Use it if you don't want to register a new mime type, but reuse existing."
|
|
5386
|
+
},
|
|
5387
|
+
"packageCategory": {
|
|
5388
|
+
"description": "The package category.",
|
|
5389
|
+
"type": [
|
|
5390
|
+
"null",
|
|
5391
|
+
"string"
|
|
5392
|
+
]
|
|
5393
|
+
},
|
|
5394
|
+
"packageName": {
|
|
5395
|
+
"description": "The name of the package.",
|
|
5396
|
+
"type": [
|
|
5397
|
+
"null",
|
|
5398
|
+
"string"
|
|
5399
|
+
]
|
|
5400
|
+
},
|
|
5401
|
+
"publish": {
|
|
5402
|
+
"anyOf": [
|
|
5403
|
+
{
|
|
5404
|
+
"$ref": "#/definitions/GithubOptions"
|
|
5405
|
+
},
|
|
5406
|
+
{
|
|
5407
|
+
"$ref": "#/definitions/GitlabOptions"
|
|
5408
|
+
},
|
|
5409
|
+
{
|
|
5410
|
+
"$ref": "#/definitions/S3Options"
|
|
5411
|
+
},
|
|
5412
|
+
{
|
|
5413
|
+
"$ref": "#/definitions/SpacesOptions"
|
|
5414
|
+
},
|
|
5415
|
+
{
|
|
5416
|
+
"$ref": "#/definitions/GenericServerOptions"
|
|
5417
|
+
},
|
|
5418
|
+
{
|
|
5419
|
+
"$ref": "#/definitions/CustomPublishOptions"
|
|
5420
|
+
},
|
|
5421
|
+
{
|
|
5422
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
5423
|
+
},
|
|
5424
|
+
{
|
|
5425
|
+
"$ref": "#/definitions/SnapStoreOptions"
|
|
5426
|
+
},
|
|
5427
|
+
{
|
|
5428
|
+
"$ref": "#/definitions/BitbucketOptions"
|
|
5429
|
+
},
|
|
5430
|
+
{
|
|
5431
|
+
"items": {
|
|
5432
|
+
"$ref": "#/definitions/AllPublishOptions"
|
|
5433
|
+
},
|
|
5434
|
+
"type": "array"
|
|
5435
|
+
},
|
|
5436
|
+
{
|
|
5437
|
+
"type": [
|
|
5438
|
+
"null",
|
|
5439
|
+
"string"
|
|
5440
|
+
]
|
|
5441
|
+
}
|
|
5442
|
+
]
|
|
5443
|
+
},
|
|
5444
|
+
"synopsis": {
|
|
5445
|
+
"description": "The [short description](https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Description).",
|
|
5446
|
+
"type": [
|
|
5447
|
+
"null",
|
|
5448
|
+
"string"
|
|
5449
|
+
]
|
|
5450
|
+
},
|
|
5451
|
+
"vendor": {
|
|
5452
|
+
"type": [
|
|
5453
|
+
"null",
|
|
5454
|
+
"string"
|
|
5455
|
+
]
|
|
5456
|
+
}
|
|
5457
|
+
},
|
|
5458
|
+
"type": "object"
|
|
5459
|
+
},
|
|
5173
5460
|
"PkgBackgroundOptions": {
|
|
5174
5461
|
"additionalProperties": false,
|
|
5175
5462
|
"description": "Options for the background image in a PKG installer",
|
|
@@ -5250,7 +5537,7 @@
|
|
|
5250
5537
|
]
|
|
5251
5538
|
},
|
|
5252
5539
|
"artifactName": {
|
|
5253
|
-
"description": "The [artifact file name template](
|
|
5540
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
5254
5541
|
"type": [
|
|
5255
5542
|
"null",
|
|
5256
5543
|
"string"
|
|
@@ -5290,7 +5577,7 @@
|
|
|
5290
5577
|
]
|
|
5291
5578
|
},
|
|
5292
5579
|
"identity": {
|
|
5293
|
-
"description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](
|
|
5580
|
+
"description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](https://www.electron.build/code-signing) instead of specifying this option.",
|
|
5294
5581
|
"type": [
|
|
5295
5582
|
"null",
|
|
5296
5583
|
"string"
|
|
@@ -5450,7 +5737,7 @@
|
|
|
5450
5737
|
"description": "Portable options.",
|
|
5451
5738
|
"properties": {
|
|
5452
5739
|
"artifactName": {
|
|
5453
|
-
"description": "The [artifact file name template](
|
|
5740
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
5454
5741
|
"type": [
|
|
5455
5742
|
"null",
|
|
5456
5743
|
"string"
|
|
@@ -5484,7 +5771,7 @@
|
|
|
5484
5771
|
"description": "Allows you to provide your own `nsis-resources`"
|
|
5485
5772
|
},
|
|
5486
5773
|
"guid": {
|
|
5487
|
-
"description": "
|
|
5774
|
+
"description": "The GUID for the installer. Used to identify the application for upgrade and uninstall operations.\nIf not specified, a deterministic GUID is generated from the app ID (`appId`) — but this means\nchanging your `appId` will break silent upgrades of existing installs.",
|
|
5488
5775
|
"type": [
|
|
5489
5776
|
"null",
|
|
5490
5777
|
"string"
|
|
@@ -5564,6 +5851,7 @@
|
|
|
5564
5851
|
},
|
|
5565
5852
|
"useZip": {
|
|
5566
5853
|
"default": false,
|
|
5854
|
+
"description": "Forces zip compression format instead of LZMA. Used internally for differential update packages.",
|
|
5567
5855
|
"type": "boolean"
|
|
5568
5856
|
},
|
|
5569
5857
|
"warningsAsErrors": {
|
|
@@ -5607,6 +5895,12 @@
|
|
|
5607
5895
|
],
|
|
5608
5896
|
"type": "object"
|
|
5609
5897
|
},
|
|
5898
|
+
"Record<string,string>": {
|
|
5899
|
+
"type": "object",
|
|
5900
|
+
"additionalProperties": {
|
|
5901
|
+
"type": "string"
|
|
5902
|
+
}
|
|
5903
|
+
},
|
|
5610
5904
|
"ReleaseInfo": {
|
|
5611
5905
|
"additionalProperties": false,
|
|
5612
5906
|
"properties": {
|
|
@@ -5629,7 +5923,7 @@
|
|
|
5629
5923
|
]
|
|
5630
5924
|
},
|
|
5631
5925
|
"releaseNotesFile": {
|
|
5632
|
-
"description": "The path to release notes file. Defaults to `release-notes-${platform}.md` (where `platform` it is current platform — `mac`, `linux` or `windows`) or `release-notes.md` in the [build resources](
|
|
5926
|
+
"description": "The path to release notes file. Defaults to `release-notes-${platform}.md` (where `platform` it is current platform — `mac`, `linux` or `windows`) or `release-notes.md` in the [build resources](https://www.electron.build/contents#extraresources).",
|
|
5633
5927
|
"type": [
|
|
5634
5928
|
"null",
|
|
5635
5929
|
"string"
|
|
@@ -5649,6 +5943,218 @@
|
|
|
5649
5943
|
},
|
|
5650
5944
|
"type": "object"
|
|
5651
5945
|
},
|
|
5946
|
+
"RpmOptions": {
|
|
5947
|
+
"additionalProperties": false,
|
|
5948
|
+
"properties": {
|
|
5949
|
+
"afterInstall": {
|
|
5950
|
+
"description": "File path to script to be passed to FPM for `--after-install` arg.",
|
|
5951
|
+
"type": [
|
|
5952
|
+
"null",
|
|
5953
|
+
"string"
|
|
5954
|
+
]
|
|
5955
|
+
},
|
|
5956
|
+
"afterRemove": {
|
|
5957
|
+
"description": "File path to script to be passed to FPM for `--after-remove` arg.",
|
|
5958
|
+
"type": [
|
|
5959
|
+
"null",
|
|
5960
|
+
"string"
|
|
5961
|
+
]
|
|
5962
|
+
},
|
|
5963
|
+
"appArmorProfile": {
|
|
5964
|
+
"description": "File path to custom AppArmor profile (Ubuntu 24+)",
|
|
5965
|
+
"type": [
|
|
5966
|
+
"null",
|
|
5967
|
+
"string"
|
|
5968
|
+
]
|
|
5969
|
+
},
|
|
5970
|
+
"artifactName": {
|
|
5971
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
5972
|
+
"type": [
|
|
5973
|
+
"null",
|
|
5974
|
+
"string"
|
|
5975
|
+
]
|
|
5976
|
+
},
|
|
5977
|
+
"category": {
|
|
5978
|
+
"description": "The [application category](https://specifications.freedesktop.org/menu-spec/latest/apa.html#main-category-registry).",
|
|
5979
|
+
"type": [
|
|
5980
|
+
"null",
|
|
5981
|
+
"string"
|
|
5982
|
+
]
|
|
5983
|
+
},
|
|
5984
|
+
"compression": {
|
|
5985
|
+
"anyOf": [
|
|
5986
|
+
{
|
|
5987
|
+
"enum": [
|
|
5988
|
+
"bzip2",
|
|
5989
|
+
"gzip",
|
|
5990
|
+
"xz",
|
|
5991
|
+
"xzmt"
|
|
5992
|
+
],
|
|
5993
|
+
"type": "string"
|
|
5994
|
+
},
|
|
5995
|
+
{
|
|
5996
|
+
"type": "null"
|
|
5997
|
+
}
|
|
5998
|
+
],
|
|
5999
|
+
"default": "xzmt",
|
|
6000
|
+
"description": "Passed to fpm via `--rpm-compression`. `\"xzmt\"` uses multi-threaded xz (fpm's RPM default).\n`\"xz\"` is automatically promoted to `\"xzmt\"`. `\"gzip\"` and `\"bzip2\"` pass through as-is."
|
|
6001
|
+
},
|
|
6002
|
+
"depends": {
|
|
6003
|
+
"anyOf": [
|
|
6004
|
+
{
|
|
6005
|
+
"items": {
|
|
6006
|
+
"type": "string"
|
|
6007
|
+
},
|
|
6008
|
+
"type": "array"
|
|
6009
|
+
},
|
|
6010
|
+
{
|
|
6011
|
+
"type": "null"
|
|
6012
|
+
}
|
|
6013
|
+
],
|
|
6014
|
+
"description": "Package dependencies.\n`rpm` defaults to `[\"gtk3\", \"libnotify\", \"nss\", \"libXScrnSaver\", \"(libXtst or libXtst6)\", \"xdg-utils\", \"at-spi2-core\", \"(libuuid or libuuid1)\"]`\n`pacman` defaults to `[\"c-ares\", \"ffmpeg\", \"gtk3\", \"http-parser\", \"libevent\", \"libvpx\", \"libxslt\", \"libxss\", \"minizip\", \"nss\", \"re2\", \"snappy\", \"libnotify\", \"libappindicator-gtk3\"]`"
|
|
6015
|
+
},
|
|
6016
|
+
"description": {
|
|
6017
|
+
"description": "As [description](https://www.electron.build/configuration#description) from application package.json, but allows you to specify different for Linux.",
|
|
6018
|
+
"type": [
|
|
6019
|
+
"null",
|
|
6020
|
+
"string"
|
|
6021
|
+
]
|
|
6022
|
+
},
|
|
6023
|
+
"desktop": {
|
|
6024
|
+
"anyOf": [
|
|
6025
|
+
{
|
|
6026
|
+
"$ref": "#/definitions/LinuxDesktopFile"
|
|
6027
|
+
},
|
|
6028
|
+
{
|
|
6029
|
+
"type": "null"
|
|
6030
|
+
}
|
|
6031
|
+
],
|
|
6032
|
+
"description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files)"
|
|
6033
|
+
},
|
|
6034
|
+
"executableArgs": {
|
|
6035
|
+
"anyOf": [
|
|
6036
|
+
{
|
|
6037
|
+
"items": {
|
|
6038
|
+
"type": "string"
|
|
6039
|
+
},
|
|
6040
|
+
"type": "array"
|
|
6041
|
+
},
|
|
6042
|
+
{
|
|
6043
|
+
"type": "null"
|
|
6044
|
+
}
|
|
6045
|
+
],
|
|
6046
|
+
"description": "The executable parameters. Pass to executableName"
|
|
6047
|
+
},
|
|
6048
|
+
"fpm": {
|
|
6049
|
+
"anyOf": [
|
|
6050
|
+
{
|
|
6051
|
+
"items": {
|
|
6052
|
+
"type": "string"
|
|
6053
|
+
},
|
|
6054
|
+
"type": "array"
|
|
6055
|
+
},
|
|
6056
|
+
{
|
|
6057
|
+
"type": "null"
|
|
6058
|
+
}
|
|
6059
|
+
],
|
|
6060
|
+
"description": "*Advanced only* The [fpm](https://fpm.readthedocs.io/en/latest/cli-reference.html) options.\n\nExample: `[\"--before-install=build/deb-preinstall.sh\", \"--after-upgrade=build/deb-postinstall.sh\"]`"
|
|
6061
|
+
},
|
|
6062
|
+
"icon": {
|
|
6063
|
+
"type": "string"
|
|
6064
|
+
},
|
|
6065
|
+
"maintainer": {
|
|
6066
|
+
"type": [
|
|
6067
|
+
"null",
|
|
6068
|
+
"string"
|
|
6069
|
+
]
|
|
6070
|
+
},
|
|
6071
|
+
"mimeTypes": {
|
|
6072
|
+
"anyOf": [
|
|
6073
|
+
{
|
|
6074
|
+
"items": {
|
|
6075
|
+
"type": "string"
|
|
6076
|
+
},
|
|
6077
|
+
"type": "array"
|
|
6078
|
+
},
|
|
6079
|
+
{
|
|
6080
|
+
"type": "null"
|
|
6081
|
+
}
|
|
6082
|
+
],
|
|
6083
|
+
"description": "The mime types in addition to specified in the file associations. Use it if you don't want to register a new mime type, but reuse existing."
|
|
6084
|
+
},
|
|
6085
|
+
"packageCategory": {
|
|
6086
|
+
"description": "The package category.",
|
|
6087
|
+
"type": [
|
|
6088
|
+
"null",
|
|
6089
|
+
"string"
|
|
6090
|
+
]
|
|
6091
|
+
},
|
|
6092
|
+
"packageName": {
|
|
6093
|
+
"description": "The name of the package.",
|
|
6094
|
+
"type": [
|
|
6095
|
+
"null",
|
|
6096
|
+
"string"
|
|
6097
|
+
]
|
|
6098
|
+
},
|
|
6099
|
+
"publish": {
|
|
6100
|
+
"anyOf": [
|
|
6101
|
+
{
|
|
6102
|
+
"$ref": "#/definitions/GithubOptions"
|
|
6103
|
+
},
|
|
6104
|
+
{
|
|
6105
|
+
"$ref": "#/definitions/GitlabOptions"
|
|
6106
|
+
},
|
|
6107
|
+
{
|
|
6108
|
+
"$ref": "#/definitions/S3Options"
|
|
6109
|
+
},
|
|
6110
|
+
{
|
|
6111
|
+
"$ref": "#/definitions/SpacesOptions"
|
|
6112
|
+
},
|
|
6113
|
+
{
|
|
6114
|
+
"$ref": "#/definitions/GenericServerOptions"
|
|
6115
|
+
},
|
|
6116
|
+
{
|
|
6117
|
+
"$ref": "#/definitions/CustomPublishOptions"
|
|
6118
|
+
},
|
|
6119
|
+
{
|
|
6120
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
6121
|
+
},
|
|
6122
|
+
{
|
|
6123
|
+
"$ref": "#/definitions/SnapStoreOptions"
|
|
6124
|
+
},
|
|
6125
|
+
{
|
|
6126
|
+
"$ref": "#/definitions/BitbucketOptions"
|
|
6127
|
+
},
|
|
6128
|
+
{
|
|
6129
|
+
"items": {
|
|
6130
|
+
"$ref": "#/definitions/AllPublishOptions"
|
|
6131
|
+
},
|
|
6132
|
+
"type": "array"
|
|
6133
|
+
},
|
|
6134
|
+
{
|
|
6135
|
+
"type": [
|
|
6136
|
+
"null",
|
|
6137
|
+
"string"
|
|
6138
|
+
]
|
|
6139
|
+
}
|
|
6140
|
+
]
|
|
6141
|
+
},
|
|
6142
|
+
"synopsis": {
|
|
6143
|
+
"description": "The [short description](https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Description).",
|
|
6144
|
+
"type": [
|
|
6145
|
+
"null",
|
|
6146
|
+
"string"
|
|
6147
|
+
]
|
|
6148
|
+
},
|
|
6149
|
+
"vendor": {
|
|
6150
|
+
"type": [
|
|
6151
|
+
"null",
|
|
6152
|
+
"string"
|
|
6153
|
+
]
|
|
6154
|
+
}
|
|
6155
|
+
},
|
|
6156
|
+
"type": "object"
|
|
6157
|
+
},
|
|
5652
6158
|
"S3Options": {
|
|
5653
6159
|
"additionalProperties": false,
|
|
5654
6160
|
"description": "[Amazon S3](https://aws.amazon.com/s3/) options.\nAWS credentials are required, please see [getting your credentials](http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/getting-your-credentials.html).\nTo set credentials define `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` [environment variables](http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-environment.html) directly,\nor use [~/.aws/credentials](http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-shared.html) file,\nor use [~/.aws/config](https://docs.aws.amazon.com/sdkref/latest/guide/file-format.html) file. For the last method to work you will also need to define `AWS_SDK_LOAD_CONFIG=1` environment variable.\n\nExample configuration:\n\n```json\n{\n\"build\":\n \"publish\": {\n \"provider\": \"s3\",\n \"bucket\": \"bucket-name\"\n }\n}\n}\n```",
|
|
@@ -5843,7 +6349,7 @@
|
|
|
5843
6349
|
"description": "Specifies which files from the app part to stage and which to exclude. Individual files, directories, wildcards, globstars, and exclusions are accepted. See [Snapcraft filesets](https://snapcraft.io/docs/snapcraft-filesets) to learn more about the format.\n\nThe defaults can be found in [snap.ts](https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/templates/snap/snapcraft.yaml#L29)."
|
|
5844
6350
|
},
|
|
5845
6351
|
"artifactName": {
|
|
5846
|
-
"description": "The [artifact file name template](
|
|
6352
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
5847
6353
|
"type": [
|
|
5848
6354
|
"null",
|
|
5849
6355
|
"string"
|
|
@@ -5932,7 +6438,7 @@
|
|
|
5932
6438
|
"description": "The type of [confinement](https://snapcraft.io/docs/reference/confinement) supported by the snap."
|
|
5933
6439
|
},
|
|
5934
6440
|
"description": {
|
|
5935
|
-
"description": "As [description](
|
|
6441
|
+
"description": "As [description](https://www.electron.build/configuration#description) from application package.json, but allows you to specify different for Linux.",
|
|
5936
6442
|
"type": [
|
|
5937
6443
|
"null",
|
|
5938
6444
|
"string"
|
|
@@ -6132,7 +6638,7 @@
|
|
|
6132
6638
|
"description": "The list of Ubuntu packages to use that are needed to support the `app` part creation. Like `depends` for `deb`.\nDefaults to `[\"libnspr4\", \"libnss3\", \"libxss1\", \"libappindicator3-1\", \"libsecret-1-0\"]`.\n\nIf list contains `default`, it will be replaced to default list, so, `[\"default\", \"foo\"]` can be used to add custom package `foo` in addition to defaults."
|
|
6133
6639
|
},
|
|
6134
6640
|
"summary": {
|
|
6135
|
-
"description": "The 78 character long summary. Defaults to [productName](
|
|
6641
|
+
"description": "The 78 character long summary. Defaults to [productName](https://www.electron.build/configuration#productname).",
|
|
6136
6642
|
"type": [
|
|
6137
6643
|
"null",
|
|
6138
6644
|
"string"
|
|
@@ -6331,7 +6837,7 @@
|
|
|
6331
6837
|
"additionalProperties": false,
|
|
6332
6838
|
"properties": {
|
|
6333
6839
|
"artifactName": {
|
|
6334
|
-
"description": "The [artifact file name template](
|
|
6840
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template).",
|
|
6335
6841
|
"type": [
|
|
6336
6842
|
"null",
|
|
6337
6843
|
"string"
|
|
@@ -6563,7 +7069,7 @@
|
|
|
6563
7069
|
]
|
|
6564
7070
|
},
|
|
6565
7071
|
"artifactName": {
|
|
6566
|
-
"description": "The [artifact file name template](
|
|
7072
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template). Defaults to `${productName}-${version}.${ext}` (some target can have other defaults, see corresponding options).",
|
|
6567
7073
|
"type": [
|
|
6568
7074
|
"null",
|
|
6569
7075
|
"string"
|
|
@@ -6599,7 +7105,7 @@
|
|
|
6599
7105
|
]
|
|
6600
7106
|
}
|
|
6601
7107
|
],
|
|
6602
|
-
"description": "A [glob patterns](
|
|
7108
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](#directories), which specifies which files to unpack when creating the [asar](http://electron.atom.io/docs/tutorial/application-packaging/) archive."
|
|
6603
7109
|
},
|
|
6604
7110
|
"azureSignOptions": {
|
|
6605
7111
|
"anyOf": [
|
|
@@ -6642,6 +7148,7 @@
|
|
|
6642
7148
|
]
|
|
6643
7149
|
},
|
|
6644
7150
|
"defaultArch": {
|
|
7151
|
+
"description": "The default architecture to build for when no `--arch` flag is specified.\nDefaults to the current machine's architecture.",
|
|
6645
7152
|
"type": "string"
|
|
6646
7153
|
},
|
|
6647
7154
|
"detectUpdateChannel": {
|
|
@@ -6672,7 +7179,7 @@
|
|
|
6672
7179
|
"description": "The electron locales to keep. By default, all Electron locales used as-is."
|
|
6673
7180
|
},
|
|
6674
7181
|
"electronUpdaterCompatibility": {
|
|
6675
|
-
"description": "The [electron-updater compatibility](
|
|
7182
|
+
"description": "The [electron-updater compatibility](https://www.electron.build/auto-update#compatibility) semver range.",
|
|
6676
7183
|
"type": [
|
|
6677
7184
|
"null",
|
|
6678
7185
|
"string"
|
|
@@ -6737,7 +7244,7 @@
|
|
|
6737
7244
|
]
|
|
6738
7245
|
}
|
|
6739
7246
|
],
|
|
6740
|
-
"description": "A [glob patterns](
|
|
7247
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the project directory, when specified, copy the file or directory with matching names directly into the app's resources directory (`Contents/Resources` for MacOS, `resources` for Linux and Windows).\n\nFile patterns (and support for `from` and `to` fields) the same as for [files](#files)."
|
|
6741
7248
|
},
|
|
6742
7249
|
"fileAssociations": {
|
|
6743
7250
|
"anyOf": [
|
|
@@ -6778,9 +7285,10 @@
|
|
|
6778
7285
|
]
|
|
6779
7286
|
}
|
|
6780
7287
|
],
|
|
6781
|
-
"description": "A [glob patterns](
|
|
7288
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](https://www.electron.build/configuration#directories), which specifies which files to include when copying files to create the package.\n\nDefaults to:\n```json\n[\n\"**\\/*\",\n\"!**\\/node_modules/*\\/{CHANGELOG.md,README.md,README,readme.md,readme}\",\n\"!**\\/node_modules/*\\/{test,__tests__,tests,powered-test,example,examples}\",\n\"!**\\/node_modules/*.d.ts\",\n\"!**\\/node_modules/.bin\",\n\"!**\\/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}\",\n\"!.editorconfig\",\n\"!**\\/._*\",\n\"!**\\/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}\",\n\"!**\\/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}\",\n\"!**\\/{appveyor.yml,.travis.yml,circle.yml}\",\n\"!**\\/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}\"\n]\n```\n\nDevelopment dependencies are never copied in any case. You don't need to ignore it explicitly. Hidden files are not ignored by default, but all files that should be ignored, are ignored by default.\n\nDefault pattern \\`**\\/*\\` **is not added to your custom** if some of your patterns is not ignore (i.e. not starts with `!`). `package.json` and \\`**\\/node_modules/**\\/*` (only production dependencies will be copied) is added to your custom in any case. All default ignores are added in any case — you don't need to repeat it if you configure own patterns.\n\nMay be specified in the platform options (e.g. in the [mac](https://www.electron.build/mac)).\n\nYou may also specify custom source and destination directories by using `FileSet` objects instead of simple glob patterns.\n\n```json\n[\n{\n\"from\": \"path/to/source\",\n\"to\": \"path/to/destination\",\n\"filter\": [\"**\\/*\", \"!foo/*.js\"]\n}\n]\n```\n\nYou can use [file macros](https://www.electron.build/file-patterns#file-macros) in the `from` and `to` fields as well. `from` and `to` can be files and you can use this to [rename](https://github.com/electron-userland/electron-builder/issues/1119) a file while packaging."
|
|
6782
7289
|
},
|
|
6783
7290
|
"forceCodeSigning": {
|
|
7291
|
+
"default": false,
|
|
6784
7292
|
"description": "Whether to fail if app will be not code signed.",
|
|
6785
7293
|
"type": "boolean"
|
|
6786
7294
|
},
|
|
@@ -6860,7 +7368,7 @@
|
|
|
6860
7368
|
]
|
|
6861
7369
|
}
|
|
6862
7370
|
],
|
|
6863
|
-
"description": "Publisher configuration. See [Auto Update](
|
|
7371
|
+
"description": "Publisher configuration. See [Auto Update](https://www.electron.build/publish) for more information."
|
|
6864
7372
|
},
|
|
6865
7373
|
"releaseInfo": {
|
|
6866
7374
|
"$ref": "#/definitions/ReleaseInfo",
|
|
@@ -6885,7 +7393,12 @@
|
|
|
6885
7393
|
},
|
|
6886
7394
|
"signAndEditExecutable": {
|
|
6887
7395
|
"default": true,
|
|
6888
|
-
"description": "Whether to sign and add metadata to executable.\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.\
|
|
7396
|
+
"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.",
|
|
7397
|
+
"type": "boolean"
|
|
7398
|
+
},
|
|
7399
|
+
"signExecutable": {
|
|
7400
|
+
"default": true,
|
|
7401
|
+
"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.",
|
|
6889
7402
|
"type": "boolean"
|
|
6890
7403
|
},
|
|
6891
7404
|
"signExts": {
|
|
@@ -6940,7 +7453,7 @@
|
|
|
6940
7453
|
}
|
|
6941
7454
|
],
|
|
6942
7455
|
"default": "nsis",
|
|
6943
|
-
"description": "The target package type: list of `nsis`, `nsis-web` (Web installer), `portable` ([portable]
|
|
7456
|
+
"description": "The target package type: list of `nsis`, `nsis-web` (Web installer), `portable` ([portable]https://www.electron.build/nsis#portable) app without installation), `appx`, `msi`, `msi-wrapped`, `squirrel`, `7z`, `zip`, `tar.xz`, `tar.lz`, `tar.gz`, `tar.bz2`, `dir`.\nAppX package can be built only on Windows 10.\n\nTo use Squirrel.Windows please install `electron-builder-squirrel-windows` dependency."
|
|
6944
7457
|
},
|
|
6945
7458
|
"verifyUpdateCodeSignature": {
|
|
6946
7459
|
"default": true,
|
|
@@ -6961,14 +7474,14 @@
|
|
|
6961
7474
|
]
|
|
6962
7475
|
},
|
|
6963
7476
|
"certificateFile": {
|
|
6964
|
-
"description": "The path to the *.pfx certificate you want to sign with. Please use it only if you cannot use env variable `CSC_LINK` (`WIN_CSC_LINK`) for some reason.\nPlease see [Code Signing](
|
|
7477
|
+
"description": "The path to the *.pfx certificate you want to sign with. Please use it only if you cannot use env variable `CSC_LINK` (`WIN_CSC_LINK`) for some reason.\nPlease see [Code Signing](https://www.electron.build/code-signing).",
|
|
6965
7478
|
"type": [
|
|
6966
7479
|
"null",
|
|
6967
7480
|
"string"
|
|
6968
7481
|
]
|
|
6969
7482
|
},
|
|
6970
7483
|
"certificatePassword": {
|
|
6971
|
-
"description": "The password to the certificate provided in `certificateFile`. Please use it only if you cannot use env variable `CSC_KEY_PASSWORD` (`WIN_CSC_KEY_PASSWORD`) for some reason.\nPlease see [Code Signing](
|
|
7484
|
+
"description": "The password to the certificate provided in `certificateFile`. Please use it only if you cannot use env variable `CSC_KEY_PASSWORD` (`WIN_CSC_KEY_PASSWORD`) for some reason.\nPlease see [Code Signing](https://www.electron.build/code-signing).",
|
|
6972
7485
|
"type": [
|
|
6973
7486
|
"null",
|
|
6974
7487
|
"string"
|
|
@@ -7071,7 +7584,7 @@
|
|
|
7071
7584
|
]
|
|
7072
7585
|
}
|
|
7073
7586
|
],
|
|
7074
|
-
"description": "The function (or path to file or module id) to be run after all artifacts are built.\
|
|
7587
|
+
"description": "The function (or path to file or module id) to be run after all artifacts are built.\nReceives a {@link BuildResult}. May return an array of additional file paths to publish.\n\nFor file/module setup, see {@link beforePack}."
|
|
7075
7588
|
},
|
|
7076
7589
|
"afterExtract": {
|
|
7077
7590
|
"anyOf": [
|
|
@@ -7085,7 +7598,7 @@
|
|
|
7085
7598
|
]
|
|
7086
7599
|
}
|
|
7087
7600
|
],
|
|
7088
|
-
"description": "The function (or path to file or module id) to be
|
|
7601
|
+
"description": "The function (or path to file or module id) to be run after the prebuilt Electron binary has been extracted to the output directory.\nReceives an {@link AfterExtractContext}. For file/module setup, see {@link beforePack}."
|
|
7089
7602
|
},
|
|
7090
7603
|
"afterPack": {
|
|
7091
7604
|
"anyOf": [
|
|
@@ -7099,7 +7612,7 @@
|
|
|
7099
7612
|
]
|
|
7100
7613
|
}
|
|
7101
7614
|
],
|
|
7102
|
-
"description": "The function (or path to file or module id) to be
|
|
7615
|
+
"description": "The function (or path to file or module id) to be run after pack but before pack into distributable format and sign.\nReceives an {@link AfterPackContext}. For file/module setup, see {@link beforePack}."
|
|
7103
7616
|
},
|
|
7104
7617
|
"afterSign": {
|
|
7105
7618
|
"anyOf": [
|
|
@@ -7113,7 +7626,7 @@
|
|
|
7113
7626
|
]
|
|
7114
7627
|
}
|
|
7115
7628
|
],
|
|
7116
|
-
"description": "The function (or path to file or module id) to be
|
|
7629
|
+
"description": "The function (or path to file or module id) to be run after pack and sign but before pack into distributable format.\nReceives an {@link AfterPackContext}. For file/module setup, see {@link beforePack}."
|
|
7117
7630
|
},
|
|
7118
7631
|
"apk": {
|
|
7119
7632
|
"anyOf": [
|
|
@@ -7123,7 +7636,8 @@
|
|
|
7123
7636
|
{
|
|
7124
7637
|
"type": "null"
|
|
7125
7638
|
}
|
|
7126
|
-
]
|
|
7639
|
+
],
|
|
7640
|
+
"description": "Alpine Linux APK package options. Produces an `.apk` archive installable via `apk add`."
|
|
7127
7641
|
},
|
|
7128
7642
|
"appId": {
|
|
7129
7643
|
"default": "com.electron.${name}",
|
|
@@ -7142,7 +7656,7 @@
|
|
|
7142
7656
|
"type": "null"
|
|
7143
7657
|
}
|
|
7144
7658
|
],
|
|
7145
|
-
"description": "AppImage options."
|
|
7659
|
+
"description": "AppImage options. AppImage is a portable application format that bundles the app\nand its dependencies into a single self-contained executable that runs on most\nLinux distributions without installation."
|
|
7146
7660
|
},
|
|
7147
7661
|
"appx": {
|
|
7148
7662
|
"anyOf": [
|
|
@@ -7152,7 +7666,8 @@
|
|
|
7152
7666
|
{
|
|
7153
7667
|
"type": "null"
|
|
7154
7668
|
}
|
|
7155
|
-
]
|
|
7669
|
+
],
|
|
7670
|
+
"description": "Windows Store (AppX) package options."
|
|
7156
7671
|
},
|
|
7157
7672
|
"appxManifestCreated": {
|
|
7158
7673
|
"anyOf": [
|
|
@@ -7180,7 +7695,7 @@
|
|
|
7180
7695
|
]
|
|
7181
7696
|
}
|
|
7182
7697
|
],
|
|
7183
|
-
"description": "The function (or path to file or module id) to be run
|
|
7698
|
+
"description": "The function (or path to file or module id) to be run when an individual artifact build completes.\nReceives an {@link ArtifactCreated}. For file/module setup, see {@link beforePack}."
|
|
7184
7699
|
},
|
|
7185
7700
|
"artifactBuildStarted": {
|
|
7186
7701
|
"anyOf": [
|
|
@@ -7194,10 +7709,10 @@
|
|
|
7194
7709
|
]
|
|
7195
7710
|
}
|
|
7196
7711
|
],
|
|
7197
|
-
"description": "The function (or path to file or module id) to be run
|
|
7712
|
+
"description": "The function (or path to file or module id) to be run when an individual artifact build starts.\nReceives an {@link ArtifactBuildStarted}. For file/module setup, see {@link beforePack}."
|
|
7198
7713
|
},
|
|
7199
7714
|
"artifactName": {
|
|
7200
|
-
"description": "The [artifact file name template](
|
|
7715
|
+
"description": "The [artifact file name template](https://www.electron.build/configuration#artifact-file-name-template). Defaults to `${productName}-${version}.${ext}` (some target can have other defaults, see corresponding options).",
|
|
7201
7716
|
"type": [
|
|
7202
7717
|
"null",
|
|
7203
7718
|
"string"
|
|
@@ -7233,7 +7748,7 @@
|
|
|
7233
7748
|
]
|
|
7234
7749
|
}
|
|
7235
7750
|
],
|
|
7236
|
-
"description": "A [glob patterns](
|
|
7751
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](#directories), which specifies which files to unpack when creating the [asar](http://electron.atom.io/docs/tutorial/application-packaging/) archive."
|
|
7237
7752
|
},
|
|
7238
7753
|
"beforeBuild": {
|
|
7239
7754
|
"anyOf": [
|
|
@@ -7261,7 +7776,7 @@
|
|
|
7261
7776
|
]
|
|
7262
7777
|
}
|
|
7263
7778
|
],
|
|
7264
|
-
"description": "The function (or path to file or module id) to be run before pack.\n\
|
|
7779
|
+
"description": "The function (or path to file or module id) to be run before pack.\nReceives a {@link BeforePackContext}.\n\nCan be specified inline as a function in JavaScript configs:\n```js\n// electron-builder.config.js\nmodule.exports = {\n beforePack: async (context) => {\n // your code\n }\n}\n```\n\nOr as a path to a module that exports the function as its default export:\n```json\n{ \"build\": { \"beforePack\": \"./myBeforePackHook.js\" } }\n```\n```js\n// myBeforePackHook.js\nexports.default = async function(context) {\n // your custom code\n}\n```"
|
|
7265
7780
|
},
|
|
7266
7781
|
"buildDependenciesFromSource": {
|
|
7267
7782
|
"default": false,
|
|
@@ -7339,9 +7854,10 @@
|
|
|
7339
7854
|
"type": "null"
|
|
7340
7855
|
}
|
|
7341
7856
|
],
|
|
7342
|
-
"description": "Debian package options."
|
|
7857
|
+
"description": "Debian package options. Targets Debian, Ubuntu, and Debian-based distributions.\nProduces a `.deb` archive installable via `dpkg -i` or `apt install`."
|
|
7343
7858
|
},
|
|
7344
7859
|
"defaultArch": {
|
|
7860
|
+
"description": "The default architecture to build for when no `--arch` flag is specified.\nDefaults to the current machine's architecture.",
|
|
7345
7861
|
"type": "string"
|
|
7346
7862
|
},
|
|
7347
7863
|
"detectUpdateChannel": {
|
|
@@ -7411,8 +7927,18 @@
|
|
|
7411
7927
|
"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
7928
|
},
|
|
7413
7929
|
"electronDownload": {
|
|
7414
|
-
"
|
|
7415
|
-
|
|
7930
|
+
"anyOf": [
|
|
7931
|
+
{
|
|
7932
|
+
"$ref": "#/definitions/ElectronDownloadOptions"
|
|
7933
|
+
},
|
|
7934
|
+
{
|
|
7935
|
+
"$ref": "#/definitions/ElectronGetOptions"
|
|
7936
|
+
},
|
|
7937
|
+
{
|
|
7938
|
+
"type": "null"
|
|
7939
|
+
}
|
|
7940
|
+
],
|
|
7941
|
+
"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
7942
|
},
|
|
7417
7943
|
"electronFuses": {
|
|
7418
7944
|
"anyOf": [
|
|
@@ -7440,7 +7966,7 @@
|
|
|
7440
7966
|
"description": "The electron locales to keep. By default, all Electron locales used as-is."
|
|
7441
7967
|
},
|
|
7442
7968
|
"electronUpdaterCompatibility": {
|
|
7443
|
-
"description": "The [electron-updater compatibility](
|
|
7969
|
+
"description": "The [electron-updater compatibility](https://www.electron.build/auto-update#compatibility) semver range.",
|
|
7444
7970
|
"type": [
|
|
7445
7971
|
"null",
|
|
7446
7972
|
"string"
|
|
@@ -7532,7 +8058,7 @@
|
|
|
7532
8058
|
]
|
|
7533
8059
|
}
|
|
7534
8060
|
],
|
|
7535
|
-
"description": "A [glob patterns](
|
|
8061
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the project directory, when specified, copy the file or directory with matching names directly into the app's resources directory (`Contents/Resources` for MacOS, `resources` for Linux and Windows).\n\nFile patterns (and support for `from` and `to` fields) the same as for [files](#files)."
|
|
7536
8062
|
},
|
|
7537
8063
|
"fileAssociations": {
|
|
7538
8064
|
"anyOf": [
|
|
@@ -7573,7 +8099,7 @@
|
|
|
7573
8099
|
]
|
|
7574
8100
|
}
|
|
7575
8101
|
],
|
|
7576
|
-
"description": "A [glob patterns](
|
|
8102
|
+
"description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](https://www.electron.build/configuration#directories), which specifies which files to include when copying files to create the package.\n\nDefaults to:\n```json\n[\n\"**\\/*\",\n\"!**\\/node_modules/*\\/{CHANGELOG.md,README.md,README,readme.md,readme}\",\n\"!**\\/node_modules/*\\/{test,__tests__,tests,powered-test,example,examples}\",\n\"!**\\/node_modules/*.d.ts\",\n\"!**\\/node_modules/.bin\",\n\"!**\\/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}\",\n\"!.editorconfig\",\n\"!**\\/._*\",\n\"!**\\/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}\",\n\"!**\\/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}\",\n\"!**\\/{appveyor.yml,.travis.yml,circle.yml}\",\n\"!**\\/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}\"\n]\n```\n\nDevelopment dependencies are never copied in any case. You don't need to ignore it explicitly. Hidden files are not ignored by default, but all files that should be ignored, are ignored by default.\n\nDefault pattern \\`**\\/*\\` **is not added to your custom** if some of your patterns is not ignore (i.e. not starts with `!`). `package.json` and \\`**\\/node_modules/**\\/*` (only production dependencies will be copied) is added to your custom in any case. All default ignores are added in any case — you don't need to repeat it if you configure own patterns.\n\nMay be specified in the platform options (e.g. in the [mac](https://www.electron.build/mac)).\n\nYou may also specify custom source and destination directories by using `FileSet` objects instead of simple glob patterns.\n\n```json\n[\n{\n\"from\": \"path/to/source\",\n\"to\": \"path/to/destination\",\n\"filter\": [\"**\\/*\", \"!foo/*.js\"]\n}\n]\n```\n\nYou can use [file macros](https://www.electron.build/file-patterns#file-macros) in the `from` and `to` fields as well. `from` and `to` can be files and you can use this to [rename](https://github.com/electron-userland/electron-builder/issues/1119) a file while packaging."
|
|
7577
8103
|
},
|
|
7578
8104
|
"flatpak": {
|
|
7579
8105
|
"anyOf": [
|
|
@@ -7584,7 +8110,7 @@
|
|
|
7584
8110
|
"type": "null"
|
|
7585
8111
|
}
|
|
7586
8112
|
],
|
|
7587
|
-
"description": "Flatpak options."
|
|
8113
|
+
"description": "Flatpak options. Flatpak is a sandboxed application distribution format for Linux\nthat runs in a controlled environment and is distributed via [Flathub](https://flathub.org/)\nor other Flatpak repositories."
|
|
7588
8114
|
},
|
|
7589
8115
|
"forceCodeSigning": {
|
|
7590
8116
|
"default": false,
|
|
@@ -7606,7 +8132,8 @@
|
|
|
7606
8132
|
{
|
|
7607
8133
|
"type": "null"
|
|
7608
8134
|
}
|
|
7609
|
-
]
|
|
8135
|
+
],
|
|
8136
|
+
"description": "FreeBSD package options. Produces a `.pkg` archive for the FreeBSD `pkg` package manager."
|
|
7610
8137
|
},
|
|
7611
8138
|
"generateUpdatesFilesForAllChannels": {
|
|
7612
8139
|
"default": false,
|
|
@@ -7641,7 +8168,7 @@
|
|
|
7641
8168
|
"type": "null"
|
|
7642
8169
|
}
|
|
7643
8170
|
],
|
|
7644
|
-
"description": "
|
|
8171
|
+
"description": "General Linux build options shared across all Linux targets (icon, category, desktop entry,\nexecutable name, etc.). Target-specific compression and packaging options live in the\nper-format interfaces (`DebOptions`, `RpmOptions`, `PacmanOptions`, etc.)."
|
|
7645
8172
|
},
|
|
7646
8173
|
"mac": {
|
|
7647
8174
|
"anyOf": [
|
|
@@ -7684,7 +8211,8 @@
|
|
|
7684
8211
|
{
|
|
7685
8212
|
"type": "null"
|
|
7686
8213
|
}
|
|
7687
|
-
]
|
|
8214
|
+
],
|
|
8215
|
+
"description": "MSI package options."
|
|
7688
8216
|
},
|
|
7689
8217
|
"msiProjectCreated": {
|
|
7690
8218
|
"anyOf": [
|
|
@@ -7708,7 +8236,8 @@
|
|
|
7708
8236
|
{
|
|
7709
8237
|
"type": "null"
|
|
7710
8238
|
}
|
|
7711
|
-
]
|
|
8239
|
+
],
|
|
8240
|
+
"description": "MSI-wrapped installer options."
|
|
7712
8241
|
},
|
|
7713
8242
|
"nativeRebuilder": {
|
|
7714
8243
|
"anyOf": [
|
|
@@ -7769,7 +8298,8 @@
|
|
|
7769
8298
|
{
|
|
7770
8299
|
"type": "null"
|
|
7771
8300
|
}
|
|
7772
|
-
]
|
|
8301
|
+
],
|
|
8302
|
+
"description": "NSIS installer options."
|
|
7773
8303
|
},
|
|
7774
8304
|
"nsisWeb": {
|
|
7775
8305
|
"anyOf": [
|
|
@@ -7779,7 +8309,8 @@
|
|
|
7779
8309
|
{
|
|
7780
8310
|
"type": "null"
|
|
7781
8311
|
}
|
|
7782
|
-
]
|
|
8312
|
+
],
|
|
8313
|
+
"description": "NSIS web installer options (downloads app package at install time)."
|
|
7783
8314
|
},
|
|
7784
8315
|
"onNodeModuleFile": {
|
|
7785
8316
|
"anyOf": [
|
|
@@ -7803,17 +8334,19 @@
|
|
|
7803
8334
|
{
|
|
7804
8335
|
"type": "null"
|
|
7805
8336
|
}
|
|
7806
|
-
]
|
|
8337
|
+
],
|
|
8338
|
+
"description": "Solaris IPS package options. Produces a `.p5p` archive for the Solaris Image Packaging\nSystem (`pkg`)."
|
|
7807
8339
|
},
|
|
7808
8340
|
"pacman": {
|
|
7809
8341
|
"anyOf": [
|
|
7810
8342
|
{
|
|
7811
|
-
"$ref": "#/definitions/
|
|
8343
|
+
"$ref": "#/definitions/PacmanOptions"
|
|
7812
8344
|
},
|
|
7813
8345
|
{
|
|
7814
8346
|
"type": "null"
|
|
7815
8347
|
}
|
|
7816
|
-
]
|
|
8348
|
+
],
|
|
8349
|
+
"description": "Pacman package options. Targets Arch Linux and Arch-based distributions\n(Manjaro, EndeavourOS, etc.). Produces a `.pacman` archive installable via `pacman -U`."
|
|
7817
8350
|
},
|
|
7818
8351
|
"pkg": {
|
|
7819
8352
|
"anyOf": [
|
|
@@ -7834,7 +8367,8 @@
|
|
|
7834
8367
|
{
|
|
7835
8368
|
"type": "null"
|
|
7836
8369
|
}
|
|
7837
|
-
]
|
|
8370
|
+
],
|
|
8371
|
+
"description": "Portable executable options (no installation required)."
|
|
7838
8372
|
},
|
|
7839
8373
|
"productName": {
|
|
7840
8374
|
"description": "As [name](#metadata), but allows you to specify a product name for your executable which contains spaces and other special characters not allowed in the [name property](https://docs.npmjs.com/files/package.json#name).\nIf not specified inside of the `build` configuration, `productName` property defined at the top level of `package.json` is used. If not specified at the top level of `package.json`, [name property](https://docs.npmjs.com/files/package.json#name) is used.",
|
|
@@ -7899,7 +8433,7 @@
|
|
|
7899
8433
|
]
|
|
7900
8434
|
}
|
|
7901
8435
|
],
|
|
7902
|
-
"description": "Publisher configuration. See [Auto Update](
|
|
8436
|
+
"description": "Publisher configuration. See [Auto Update](https://www.electron.build/publish) for more information."
|
|
7903
8437
|
},
|
|
7904
8438
|
"releaseInfo": {
|
|
7905
8439
|
"$ref": "#/definitions/ReleaseInfo",
|
|
@@ -7918,12 +8452,13 @@
|
|
|
7918
8452
|
"rpm": {
|
|
7919
8453
|
"anyOf": [
|
|
7920
8454
|
{
|
|
7921
|
-
"$ref": "#/definitions/
|
|
8455
|
+
"$ref": "#/definitions/RpmOptions"
|
|
7922
8456
|
},
|
|
7923
8457
|
{
|
|
7924
8458
|
"type": "null"
|
|
7925
8459
|
}
|
|
7926
|
-
]
|
|
8460
|
+
],
|
|
8461
|
+
"description": "RPM package options. Targets Fedora, Red Hat Enterprise Linux, SUSE, and related\ndistributions. Produces a `.rpm` archive installable via `rpm` or `dnf`."
|
|
7927
8462
|
},
|
|
7928
8463
|
"snap": {
|
|
7929
8464
|
"anyOf": [
|
|
@@ -7934,7 +8469,7 @@
|
|
|
7934
8469
|
"type": "null"
|
|
7935
8470
|
}
|
|
7936
8471
|
],
|
|
7937
|
-
"description": "Snap options."
|
|
8472
|
+
"description": "Snap package options. Requires [snapcraft](https://snapcraft.io/) to be installed."
|
|
7938
8473
|
},
|
|
7939
8474
|
"squirrelWindows": {
|
|
7940
8475
|
"anyOf": [
|
|
@@ -7944,7 +8479,8 @@
|
|
|
7944
8479
|
{
|
|
7945
8480
|
"type": "null"
|
|
7946
8481
|
}
|
|
7947
|
-
]
|
|
8482
|
+
],
|
|
8483
|
+
"description": "Squirrel.Windows installer options. Requires the `electron-builder-squirrel-windows` dependency."
|
|
7948
8484
|
},
|
|
7949
8485
|
"target": {
|
|
7950
8486
|
"anyOf": [
|
|
@@ -7970,7 +8506,8 @@
|
|
|
7970
8506
|
"string"
|
|
7971
8507
|
]
|
|
7972
8508
|
}
|
|
7973
|
-
]
|
|
8509
|
+
],
|
|
8510
|
+
"description": "The build target(s) for this platform. Can be a target name string, a {@link TargetConfiguration}\nobject, or an array of either. Available targets depend on the platform — see platform-specific\noptions (e.g. {@link MacConfiguration.target}, {@link WindowsConfiguration.target},\n{@link LinuxConfiguration.target})."
|
|
7974
8511
|
},
|
|
7975
8512
|
"toolsets": {
|
|
7976
8513
|
"anyOf": [
|