app-builder-lib 22.11.11 → 22.13.1
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/CHANGELOG.md +44 -0
- package/out/binDownload.d.ts +1 -0
- package/out/binDownload.js +6 -1
- package/out/binDownload.js.map +1 -1
- package/out/configuration.d.ts +8 -1
- package/out/configuration.js.map +1 -1
- package/out/core.d.ts +1 -2
- package/out/core.js.map +1 -1
- package/out/index.d.ts +0 -1
- package/out/index.js.map +1 -1
- package/out/platformPackager.js +11 -0
- package/out/platformPackager.js.map +1 -1
- package/out/publish/BintrayPublisher.d.ts +1 -1
- package/out/publish/BintrayPublisher.js +3 -11
- package/out/publish/BintrayPublisher.js.map +1 -1
- package/out/publish/KeygenPublisher.d.ts +19 -0
- package/out/publish/KeygenPublisher.js +101 -0
- package/out/publish/KeygenPublisher.js.map +1 -0
- package/out/publish/PublishManager.js +14 -0
- package/out/publish/PublishManager.js.map +1 -1
- package/out/publish/SnapStorePublisher.d.ts +1 -11
- package/out/publish/SnapStorePublisher.js.map +1 -1
- package/out/targets/nsis/NsisTarget.js +12 -5
- package/out/targets/nsis/NsisTarget.js.map +1 -1
- package/out/targets/nsis/nsisOptions.d.ts +35 -2
- package/out/targets/nsis/nsisOptions.js.map +1 -1
- package/out/targets/nsis/nsisUtil.d.ts +5 -0
- package/out/targets/nsis/nsisUtil.js +20 -3
- package/out/targets/nsis/nsisUtil.js.map +1 -1
- package/out/util/yarn.js +1 -1
- package/out/util/yarn.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 +1 -1
- package/out/vm/ParallelsVm.js.map +1 -1
- package/out/vm/vm.js +1 -1
- package/out/vm/vm.js.map +1 -1
- package/package.json +6 -6
- package/scheme.json +339 -42
- package/templates/nsis/common.nsh +14 -0
- package/templates/nsis/installer.nsi +3 -0
- package/templates/nsis/portable.nsi +6 -2
- package/templates/nsis/uninstaller.nsh +15 -4
package/scheme.json
CHANGED
|
@@ -84,6 +84,9 @@
|
|
|
84
84
|
{
|
|
85
85
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
86
86
|
},
|
|
87
|
+
{
|
|
88
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
89
|
+
},
|
|
87
90
|
{
|
|
88
91
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
89
92
|
},
|
|
@@ -108,6 +111,9 @@
|
|
|
108
111
|
{
|
|
109
112
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
110
113
|
},
|
|
114
|
+
{
|
|
115
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
116
|
+
},
|
|
111
117
|
{
|
|
112
118
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
113
119
|
},
|
|
@@ -234,6 +240,9 @@
|
|
|
234
240
|
{
|
|
235
241
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
236
242
|
},
|
|
243
|
+
{
|
|
244
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
245
|
+
},
|
|
237
246
|
{
|
|
238
247
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
239
248
|
},
|
|
@@ -258,6 +267,9 @@
|
|
|
258
267
|
{
|
|
259
268
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
260
269
|
},
|
|
270
|
+
{
|
|
271
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
272
|
+
},
|
|
261
273
|
{
|
|
262
274
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
263
275
|
},
|
|
@@ -420,12 +432,45 @@
|
|
|
420
432
|
],
|
|
421
433
|
"type": "object"
|
|
422
434
|
},
|
|
435
|
+
"CustomNsisBinary": {
|
|
436
|
+
"additionalProperties": false,
|
|
437
|
+
"properties": {
|
|
438
|
+
"checksum": {
|
|
439
|
+
"default": "o+YZsXHp8LNihhuk7JsCDhdIgx0MKKK+1b3sGD+4zX5djZULe4/4QMcAsfQ+0r+a8FnwBt7BVBHkIkJHjKQ0sg==",
|
|
440
|
+
"type": [
|
|
441
|
+
"null",
|
|
442
|
+
"string"
|
|
443
|
+
]
|
|
444
|
+
},
|
|
445
|
+
"url": {
|
|
446
|
+
"default": "https://github.com/electron-userland/electron-builder-binaries/releases/download",
|
|
447
|
+
"type": [
|
|
448
|
+
"null",
|
|
449
|
+
"string"
|
|
450
|
+
]
|
|
451
|
+
},
|
|
452
|
+
"version": {
|
|
453
|
+
"default": "3.0.4.2",
|
|
454
|
+
"type": [
|
|
455
|
+
"null",
|
|
456
|
+
"string"
|
|
457
|
+
]
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"required": [
|
|
461
|
+
"url"
|
|
462
|
+
],
|
|
463
|
+
"type": "object"
|
|
464
|
+
},
|
|
423
465
|
"CustomPublishOptions": {
|
|
424
466
|
"additionalProperties": {},
|
|
425
467
|
"properties": {
|
|
426
468
|
"provider": {
|
|
427
|
-
"
|
|
428
|
-
"
|
|
469
|
+
"description": "The provider. Must be `custom`.",
|
|
470
|
+
"enum": [
|
|
471
|
+
"custom"
|
|
472
|
+
],
|
|
473
|
+
"type": "string"
|
|
429
474
|
},
|
|
430
475
|
"publishAutoUpdate": {
|
|
431
476
|
"default": true,
|
|
@@ -449,6 +494,10 @@
|
|
|
449
494
|
"$ref": "#/definitions/OutgoingHttpHeaders",
|
|
450
495
|
"description": "Any custom request headers"
|
|
451
496
|
},
|
|
497
|
+
"updateProvider": {
|
|
498
|
+
"description": "The Provider to provide UpdateInfo regarding available updates. Required\nto use custom providers with electron-updater.",
|
|
499
|
+
"typeof": "function"
|
|
500
|
+
},
|
|
452
501
|
"updaterCacheDirName": {
|
|
453
502
|
"type": [
|
|
454
503
|
"null",
|
|
@@ -623,6 +672,9 @@
|
|
|
623
672
|
{
|
|
624
673
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
625
674
|
},
|
|
675
|
+
{
|
|
676
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
677
|
+
},
|
|
626
678
|
{
|
|
627
679
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
628
680
|
},
|
|
@@ -647,6 +699,9 @@
|
|
|
647
699
|
{
|
|
648
700
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
649
701
|
},
|
|
702
|
+
{
|
|
703
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
704
|
+
},
|
|
650
705
|
{
|
|
651
706
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
652
707
|
},
|
|
@@ -807,6 +862,9 @@
|
|
|
807
862
|
{
|
|
808
863
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
809
864
|
},
|
|
865
|
+
{
|
|
866
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
867
|
+
},
|
|
810
868
|
{
|
|
811
869
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
812
870
|
},
|
|
@@ -831,6 +889,9 @@
|
|
|
831
889
|
{
|
|
832
890
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
833
891
|
},
|
|
892
|
+
{
|
|
893
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
894
|
+
},
|
|
834
895
|
{
|
|
835
896
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
836
897
|
},
|
|
@@ -899,11 +960,12 @@
|
|
|
899
960
|
},
|
|
900
961
|
"ElectronBrandingOptions": {
|
|
901
962
|
"additionalProperties": false,
|
|
963
|
+
"description": "Electron distributables branding options.",
|
|
902
964
|
"properties": {
|
|
903
|
-
"
|
|
965
|
+
"productName": {
|
|
904
966
|
"type": "string"
|
|
905
967
|
},
|
|
906
|
-
"
|
|
968
|
+
"projectName": {
|
|
907
969
|
"type": "string"
|
|
908
970
|
}
|
|
909
971
|
},
|
|
@@ -1179,6 +1241,9 @@
|
|
|
1179
1241
|
{
|
|
1180
1242
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
1181
1243
|
},
|
|
1244
|
+
{
|
|
1245
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
1246
|
+
},
|
|
1182
1247
|
{
|
|
1183
1248
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
1184
1249
|
},
|
|
@@ -1203,6 +1268,9 @@
|
|
|
1203
1268
|
{
|
|
1204
1269
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
1205
1270
|
},
|
|
1271
|
+
{
|
|
1272
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
1273
|
+
},
|
|
1206
1274
|
{
|
|
1207
1275
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
1208
1276
|
},
|
|
@@ -1445,6 +1513,87 @@
|
|
|
1445
1513
|
],
|
|
1446
1514
|
"type": "object"
|
|
1447
1515
|
},
|
|
1516
|
+
"KeygenOptions": {
|
|
1517
|
+
"additionalProperties": false,
|
|
1518
|
+
"description": "Keygen options.\nhttps://keygen.sh/\nDefine `KEYGEN_TOKEN` environment variable.",
|
|
1519
|
+
"properties": {
|
|
1520
|
+
"account": {
|
|
1521
|
+
"description": "Keygen account's UUID",
|
|
1522
|
+
"type": "string"
|
|
1523
|
+
},
|
|
1524
|
+
"channel": {
|
|
1525
|
+
"anyOf": [
|
|
1526
|
+
{
|
|
1527
|
+
"enum": [
|
|
1528
|
+
"alpha",
|
|
1529
|
+
"beta",
|
|
1530
|
+
"dev",
|
|
1531
|
+
"rc",
|
|
1532
|
+
"stable"
|
|
1533
|
+
],
|
|
1534
|
+
"type": "string"
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
"type": "null"
|
|
1538
|
+
}
|
|
1539
|
+
],
|
|
1540
|
+
"default": "stable",
|
|
1541
|
+
"description": "The channel."
|
|
1542
|
+
},
|
|
1543
|
+
"platform": {
|
|
1544
|
+
"description": "The target Platform. Is set programmatically explicitly during publishing.",
|
|
1545
|
+
"type": [
|
|
1546
|
+
"null",
|
|
1547
|
+
"string"
|
|
1548
|
+
]
|
|
1549
|
+
},
|
|
1550
|
+
"product": {
|
|
1551
|
+
"description": "Keygen product's UUID",
|
|
1552
|
+
"type": "string"
|
|
1553
|
+
},
|
|
1554
|
+
"provider": {
|
|
1555
|
+
"description": "The provider. Must be `keygen`.",
|
|
1556
|
+
"enum": [
|
|
1557
|
+
"keygen"
|
|
1558
|
+
],
|
|
1559
|
+
"type": "string"
|
|
1560
|
+
},
|
|
1561
|
+
"publishAutoUpdate": {
|
|
1562
|
+
"default": true,
|
|
1563
|
+
"description": "Whether to publish auto update info files.\n\nAuto update relies only on the first provider in the list (you can specify several publishers).\nThus, probably, there`s no need to upload the metadata files for the other configured providers. But by default will be uploaded.",
|
|
1564
|
+
"type": "boolean"
|
|
1565
|
+
},
|
|
1566
|
+
"publisherName": {
|
|
1567
|
+
"anyOf": [
|
|
1568
|
+
{
|
|
1569
|
+
"items": {
|
|
1570
|
+
"type": "string"
|
|
1571
|
+
},
|
|
1572
|
+
"type": "array"
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"type": "null"
|
|
1576
|
+
}
|
|
1577
|
+
]
|
|
1578
|
+
},
|
|
1579
|
+
"requestHeaders": {
|
|
1580
|
+
"$ref": "#/definitions/OutgoingHttpHeaders",
|
|
1581
|
+
"description": "Any custom request headers"
|
|
1582
|
+
},
|
|
1583
|
+
"updaterCacheDirName": {
|
|
1584
|
+
"type": [
|
|
1585
|
+
"null",
|
|
1586
|
+
"string"
|
|
1587
|
+
]
|
|
1588
|
+
}
|
|
1589
|
+
},
|
|
1590
|
+
"required": [
|
|
1591
|
+
"account",
|
|
1592
|
+
"product",
|
|
1593
|
+
"provider"
|
|
1594
|
+
],
|
|
1595
|
+
"type": "object"
|
|
1596
|
+
},
|
|
1448
1597
|
"LinuxConfiguration": {
|
|
1449
1598
|
"additionalProperties": false,
|
|
1450
1599
|
"properties": {
|
|
@@ -1744,6 +1893,9 @@
|
|
|
1744
1893
|
{
|
|
1745
1894
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
1746
1895
|
},
|
|
1896
|
+
{
|
|
1897
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
1898
|
+
},
|
|
1747
1899
|
{
|
|
1748
1900
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
1749
1901
|
},
|
|
@@ -1768,6 +1920,9 @@
|
|
|
1768
1920
|
{
|
|
1769
1921
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
1770
1922
|
},
|
|
1923
|
+
{
|
|
1924
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
1925
|
+
},
|
|
1771
1926
|
{
|
|
1772
1927
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
1773
1928
|
},
|
|
@@ -1990,6 +2145,9 @@
|
|
|
1990
2145
|
{
|
|
1991
2146
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
1992
2147
|
},
|
|
2148
|
+
{
|
|
2149
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
2150
|
+
},
|
|
1993
2151
|
{
|
|
1994
2152
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
1995
2153
|
},
|
|
@@ -2014,6 +2172,9 @@
|
|
|
2014
2172
|
{
|
|
2015
2173
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
2016
2174
|
},
|
|
2175
|
+
{
|
|
2176
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
2177
|
+
},
|
|
2017
2178
|
{
|
|
2018
2179
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
2019
2180
|
},
|
|
@@ -2478,6 +2639,9 @@
|
|
|
2478
2639
|
{
|
|
2479
2640
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
2480
2641
|
},
|
|
2642
|
+
{
|
|
2643
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
2644
|
+
},
|
|
2481
2645
|
{
|
|
2482
2646
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
2483
2647
|
},
|
|
@@ -2502,6 +2666,9 @@
|
|
|
2502
2666
|
{
|
|
2503
2667
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
2504
2668
|
},
|
|
2669
|
+
{
|
|
2670
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
2671
|
+
},
|
|
2505
2672
|
{
|
|
2506
2673
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
2507
2674
|
},
|
|
@@ -2622,11 +2789,11 @@
|
|
|
2622
2789
|
"description": "The target package type: list of `default`, `dmg`, `mas`, `mas-dev`, `pkg`, `7z`, `zip`, `tar.xz`, `tar.lz`, `tar.gz`, `tar.bz2`, `dir`. Defaults to `default` (dmg and zip for Squirrel.Mac)."
|
|
2623
2790
|
},
|
|
2624
2791
|
"timestamp": {
|
|
2792
|
+
"description": "Specify the URL of the timestamp authority server",
|
|
2625
2793
|
"type": [
|
|
2626
2794
|
"null",
|
|
2627
2795
|
"string"
|
|
2628
|
-
]
|
|
2629
|
-
"description": "Specify the URL of the timestamp authority server"
|
|
2796
|
+
]
|
|
2630
2797
|
},
|
|
2631
2798
|
"type": {
|
|
2632
2799
|
"anyOf": [
|
|
@@ -3077,6 +3244,9 @@
|
|
|
3077
3244
|
{
|
|
3078
3245
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3079
3246
|
},
|
|
3247
|
+
{
|
|
3248
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
3249
|
+
},
|
|
3080
3250
|
{
|
|
3081
3251
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
3082
3252
|
},
|
|
@@ -3101,6 +3271,9 @@
|
|
|
3101
3271
|
{
|
|
3102
3272
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3103
3273
|
},
|
|
3274
|
+
{
|
|
3275
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
3276
|
+
},
|
|
3104
3277
|
{
|
|
3105
3278
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
3106
3279
|
},
|
|
@@ -3221,11 +3394,11 @@
|
|
|
3221
3394
|
"description": "The target package type: list of `default`, `dmg`, `mas`, `mas-dev`, `pkg`, `7z`, `zip`, `tar.xz`, `tar.lz`, `tar.gz`, `tar.bz2`, `dir`. Defaults to `default` (dmg and zip for Squirrel.Mac)."
|
|
3222
3395
|
},
|
|
3223
3396
|
"timestamp": {
|
|
3397
|
+
"description": "Specify the URL of the timestamp authority server",
|
|
3224
3398
|
"type": [
|
|
3225
3399
|
"null",
|
|
3226
3400
|
"string"
|
|
3227
|
-
]
|
|
3228
|
-
"description": "Specify the URL of the timestamp authority server"
|
|
3401
|
+
]
|
|
3229
3402
|
},
|
|
3230
3403
|
"type": {
|
|
3231
3404
|
"anyOf": [
|
|
@@ -3278,6 +3451,20 @@
|
|
|
3278
3451
|
"MsiOptions": {
|
|
3279
3452
|
"additionalProperties": false,
|
|
3280
3453
|
"properties": {
|
|
3454
|
+
"additionalWixArgs": {
|
|
3455
|
+
"anyOf": [
|
|
3456
|
+
{
|
|
3457
|
+
"items": {
|
|
3458
|
+
"type": "string"
|
|
3459
|
+
},
|
|
3460
|
+
"type": "array"
|
|
3461
|
+
},
|
|
3462
|
+
{
|
|
3463
|
+
"type": "null"
|
|
3464
|
+
}
|
|
3465
|
+
],
|
|
3466
|
+
"description": "Any additional arguments to be passed to the WiX installer compiler, such as `[\"-ext\", \"WixUtilExtension\"]`"
|
|
3467
|
+
},
|
|
3281
3468
|
"artifactName": {
|
|
3282
3469
|
"description": "The [artifact file name template](/configuration/configuration#artifact-file-name-template).",
|
|
3283
3470
|
"type": [
|
|
@@ -3337,6 +3524,9 @@
|
|
|
3337
3524
|
{
|
|
3338
3525
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3339
3526
|
},
|
|
3527
|
+
{
|
|
3528
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
3529
|
+
},
|
|
3340
3530
|
{
|
|
3341
3531
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
3342
3532
|
},
|
|
@@ -3361,6 +3551,9 @@
|
|
|
3361
3551
|
{
|
|
3362
3552
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3363
3553
|
},
|
|
3554
|
+
{
|
|
3555
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
3556
|
+
},
|
|
3364
3557
|
{
|
|
3365
3558
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
3366
3559
|
},
|
|
@@ -3402,13 +3595,6 @@
|
|
|
3402
3595
|
"default": true,
|
|
3403
3596
|
"description": "If `warningsAsErrors` is `true` (default): treat warnings as errors. If `warningsAsErrors` is `false`: allow warnings.",
|
|
3404
3597
|
"type": "boolean"
|
|
3405
|
-
},
|
|
3406
|
-
"additionalWixArgs": {
|
|
3407
|
-
"description": "Any additional arguments to be passed to the WiX installer compiler, such as `[\"-ext\", \"WixUtilExtension\"]`",
|
|
3408
|
-
"type": [
|
|
3409
|
-
"null",
|
|
3410
|
-
"array"
|
|
3411
|
-
]
|
|
3412
3598
|
}
|
|
3413
3599
|
},
|
|
3414
3600
|
"type": "object"
|
|
@@ -3447,6 +3633,23 @@
|
|
|
3447
3633
|
"description": "Whether to create start menu shortcut.",
|
|
3448
3634
|
"type": "boolean"
|
|
3449
3635
|
},
|
|
3636
|
+
"customNsisBinary": {
|
|
3637
|
+
"anyOf": [
|
|
3638
|
+
{
|
|
3639
|
+
"$ref": "#/definitions/CustomNsisBinary"
|
|
3640
|
+
},
|
|
3641
|
+
{
|
|
3642
|
+
"type": "null"
|
|
3643
|
+
}
|
|
3644
|
+
]
|
|
3645
|
+
},
|
|
3646
|
+
"debugLogging": {
|
|
3647
|
+
"description": "Whether or not to enable NSIS logging for debugging.\nNote: Requires a debug-enabled NSIS build.\nelectron-builder's included `makensis` only supports building debug-enabled NSIS installers on Windows currently\nhttps://github.com/electron-userland/electron-builder/issues/5119#issuecomment-811353612",
|
|
3648
|
+
"type": [
|
|
3649
|
+
"null",
|
|
3650
|
+
"boolean"
|
|
3651
|
+
]
|
|
3652
|
+
},
|
|
3450
3653
|
"deleteAppDataOnUninstall": {
|
|
3451
3654
|
"default": false,
|
|
3452
3655
|
"description": "*one-click installer only.* Whether to delete app data on uninstall.",
|
|
@@ -3609,6 +3812,9 @@
|
|
|
3609
3812
|
{
|
|
3610
3813
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3611
3814
|
},
|
|
3815
|
+
{
|
|
3816
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
3817
|
+
},
|
|
3612
3818
|
{
|
|
3613
3819
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
3614
3820
|
},
|
|
@@ -3633,6 +3839,9 @@
|
|
|
3633
3839
|
{
|
|
3634
3840
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3635
3841
|
},
|
|
3842
|
+
{
|
|
3843
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
3844
|
+
},
|
|
3636
3845
|
{
|
|
3637
3846
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
3638
3847
|
},
|
|
@@ -3748,6 +3957,23 @@
|
|
|
3748
3957
|
"description": "Whether to create start menu shortcut.",
|
|
3749
3958
|
"type": "boolean"
|
|
3750
3959
|
},
|
|
3960
|
+
"customNsisBinary": {
|
|
3961
|
+
"anyOf": [
|
|
3962
|
+
{
|
|
3963
|
+
"$ref": "#/definitions/CustomNsisBinary"
|
|
3964
|
+
},
|
|
3965
|
+
{
|
|
3966
|
+
"type": "null"
|
|
3967
|
+
}
|
|
3968
|
+
]
|
|
3969
|
+
},
|
|
3970
|
+
"debugLogging": {
|
|
3971
|
+
"description": "Whether or not to enable NSIS logging for debugging.\nNote: Requires a debug-enabled NSIS build.\nelectron-builder's included `makensis` only supports building debug-enabled NSIS installers on Windows currently\nhttps://github.com/electron-userland/electron-builder/issues/5119#issuecomment-811353612",
|
|
3972
|
+
"type": [
|
|
3973
|
+
"null",
|
|
3974
|
+
"boolean"
|
|
3975
|
+
]
|
|
3976
|
+
},
|
|
3751
3977
|
"deleteAppDataOnUninstall": {
|
|
3752
3978
|
"default": false,
|
|
3753
3979
|
"description": "*one-click installer only.* Whether to delete app data on uninstall.",
|
|
@@ -3910,6 +4136,9 @@
|
|
|
3910
4136
|
{
|
|
3911
4137
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3912
4138
|
},
|
|
4139
|
+
{
|
|
4140
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
4141
|
+
},
|
|
3913
4142
|
{
|
|
3914
4143
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
3915
4144
|
},
|
|
@@ -3934,6 +4163,9 @@
|
|
|
3934
4163
|
{
|
|
3935
4164
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3936
4165
|
},
|
|
4166
|
+
{
|
|
4167
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
4168
|
+
},
|
|
3937
4169
|
{
|
|
3938
4170
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
3939
4171
|
},
|
|
@@ -4225,6 +4457,9 @@
|
|
|
4225
4457
|
{
|
|
4226
4458
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4227
4459
|
},
|
|
4460
|
+
{
|
|
4461
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
4462
|
+
},
|
|
4228
4463
|
{
|
|
4229
4464
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
4230
4465
|
},
|
|
@@ -4249,6 +4484,9 @@
|
|
|
4249
4484
|
{
|
|
4250
4485
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4251
4486
|
},
|
|
4487
|
+
{
|
|
4488
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
4489
|
+
},
|
|
4252
4490
|
{
|
|
4253
4491
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
4254
4492
|
},
|
|
@@ -4309,6 +4547,23 @@
|
|
|
4309
4547
|
"string"
|
|
4310
4548
|
]
|
|
4311
4549
|
},
|
|
4550
|
+
"customNsisBinary": {
|
|
4551
|
+
"anyOf": [
|
|
4552
|
+
{
|
|
4553
|
+
"$ref": "#/definitions/CustomNsisBinary"
|
|
4554
|
+
},
|
|
4555
|
+
{
|
|
4556
|
+
"type": "null"
|
|
4557
|
+
}
|
|
4558
|
+
]
|
|
4559
|
+
},
|
|
4560
|
+
"debugLogging": {
|
|
4561
|
+
"description": "Whether or not to enable NSIS logging for debugging.\nNote: Requires a debug-enabled NSIS build.\nelectron-builder's included `makensis` only supports building debug-enabled NSIS installers on Windows currently\nhttps://github.com/electron-userland/electron-builder/issues/5119#issuecomment-811353612",
|
|
4562
|
+
"type": [
|
|
4563
|
+
"null",
|
|
4564
|
+
"boolean"
|
|
4565
|
+
]
|
|
4566
|
+
},
|
|
4312
4567
|
"guid": {
|
|
4313
4568
|
"description": "See [GUID vs Application Name](../configuration/nsis#guid-vs-application-name).",
|
|
4314
4569
|
"type": [
|
|
@@ -4336,6 +4591,9 @@
|
|
|
4336
4591
|
{
|
|
4337
4592
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4338
4593
|
},
|
|
4594
|
+
{
|
|
4595
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
4596
|
+
},
|
|
4339
4597
|
{
|
|
4340
4598
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
4341
4599
|
},
|
|
@@ -4360,6 +4618,9 @@
|
|
|
4360
4618
|
{
|
|
4361
4619
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4362
4620
|
},
|
|
4621
|
+
{
|
|
4622
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
4623
|
+
},
|
|
4363
4624
|
{
|
|
4364
4625
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
4365
4626
|
},
|
|
@@ -4401,8 +4662,11 @@
|
|
|
4401
4662
|
"type": "boolean"
|
|
4402
4663
|
},
|
|
4403
4664
|
"unpackDirName": {
|
|
4404
|
-
"description": "The unpack directory name in [TEMP](https://www.askvg.com/where-does-windows-store-temporary-files-and-how-to-change-temp-folder-location/) directory.\n\nDefaults to [uuid](https://github.com/segmentio/ksuid) of build (changed on each build of portable executable).",
|
|
4405
|
-
"type":
|
|
4665
|
+
"description": "The unpack directory for the portable app resources.\n\nIf set to a string, it will be the name in [TEMP](https://www.askvg.com/where-does-windows-store-temporary-files-and-how-to-change-temp-folder-location/) directory\nIf set explicitly to `false`, it will use the Windows temp directory ($PLUGINSDIR) that is unique to each launch of the portable application.\n\nDefaults to [uuid](https://github.com/segmentio/ksuid) of build (changed on each build of portable executable).",
|
|
4666
|
+
"type": [
|
|
4667
|
+
"string",
|
|
4668
|
+
"boolean"
|
|
4669
|
+
]
|
|
4406
4670
|
},
|
|
4407
4671
|
"useZip": {
|
|
4408
4672
|
"default": false,
|
|
@@ -4449,18 +4713,6 @@
|
|
|
4449
4713
|
],
|
|
4450
4714
|
"type": "object"
|
|
4451
4715
|
},
|
|
4452
|
-
"PublishProvider": {
|
|
4453
|
-
"enum": [
|
|
4454
|
-
"bintray",
|
|
4455
|
-
"custom",
|
|
4456
|
-
"generic",
|
|
4457
|
-
"github",
|
|
4458
|
-
"s3",
|
|
4459
|
-
"snapStore",
|
|
4460
|
-
"spaces"
|
|
4461
|
-
],
|
|
4462
|
-
"type": "string"
|
|
4463
|
-
},
|
|
4464
4716
|
"ReleaseInfo": {
|
|
4465
4717
|
"additionalProperties": false,
|
|
4466
4718
|
"properties": {
|
|
@@ -4861,6 +5113,9 @@
|
|
|
4861
5113
|
{
|
|
4862
5114
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4863
5115
|
},
|
|
5116
|
+
{
|
|
5117
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
5118
|
+
},
|
|
4864
5119
|
{
|
|
4865
5120
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
4866
5121
|
},
|
|
@@ -4885,6 +5140,9 @@
|
|
|
4885
5140
|
{
|
|
4886
5141
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4887
5142
|
},
|
|
5143
|
+
{
|
|
5144
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
5145
|
+
},
|
|
4888
5146
|
{
|
|
4889
5147
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
4890
5148
|
},
|
|
@@ -4994,8 +5252,11 @@
|
|
|
4994
5252
|
"description": "The list of channels the snap would be released."
|
|
4995
5253
|
},
|
|
4996
5254
|
"provider": {
|
|
4997
|
-
"
|
|
4998
|
-
"
|
|
5255
|
+
"description": "The provider. Must be `snapStore`.",
|
|
5256
|
+
"enum": [
|
|
5257
|
+
"snapStore"
|
|
5258
|
+
],
|
|
5259
|
+
"type": "string"
|
|
4999
5260
|
},
|
|
5000
5261
|
"publishAutoUpdate": {
|
|
5001
5262
|
"default": true,
|
|
@@ -5015,6 +5276,10 @@
|
|
|
5015
5276
|
}
|
|
5016
5277
|
]
|
|
5017
5278
|
},
|
|
5279
|
+
"repo": {
|
|
5280
|
+
"description": "snapcraft repo name",
|
|
5281
|
+
"type": "string"
|
|
5282
|
+
},
|
|
5018
5283
|
"requestHeaders": {
|
|
5019
5284
|
"$ref": "#/definitions/OutgoingHttpHeaders",
|
|
5020
5285
|
"description": "Any custom request headers"
|
|
@@ -5027,7 +5292,8 @@
|
|
|
5027
5292
|
}
|
|
5028
5293
|
},
|
|
5029
5294
|
"required": [
|
|
5030
|
-
"provider"
|
|
5295
|
+
"provider",
|
|
5296
|
+
"repo"
|
|
5031
5297
|
],
|
|
5032
5298
|
"type": "object"
|
|
5033
5299
|
},
|
|
@@ -5170,6 +5436,9 @@
|
|
|
5170
5436
|
{
|
|
5171
5437
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
5172
5438
|
},
|
|
5439
|
+
{
|
|
5440
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
5441
|
+
},
|
|
5173
5442
|
{
|
|
5174
5443
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
5175
5444
|
},
|
|
@@ -5194,6 +5463,9 @@
|
|
|
5194
5463
|
{
|
|
5195
5464
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
5196
5465
|
},
|
|
5466
|
+
{
|
|
5467
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
5468
|
+
},
|
|
5197
5469
|
{
|
|
5198
5470
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
5199
5471
|
},
|
|
@@ -5561,6 +5833,9 @@
|
|
|
5561
5833
|
{
|
|
5562
5834
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
5563
5835
|
},
|
|
5836
|
+
{
|
|
5837
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
5838
|
+
},
|
|
5564
5839
|
{
|
|
5565
5840
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
5566
5841
|
},
|
|
@@ -5585,6 +5860,9 @@
|
|
|
5585
5860
|
{
|
|
5586
5861
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
5587
5862
|
},
|
|
5863
|
+
{
|
|
5864
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
5865
|
+
},
|
|
5588
5866
|
{
|
|
5589
5867
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
5590
5868
|
},
|
|
@@ -5915,6 +6193,19 @@
|
|
|
5915
6193
|
],
|
|
5916
6194
|
"description": "The function (or path to file or module id) to be run before dependencies are installed or rebuilt. Works when `npmRebuild` is set to `true`. Resolving to `false` will skip dependencies install or rebuild.\n\nIf provided and `node_modules` are missing, it will not invoke production dependencies check."
|
|
5917
6195
|
},
|
|
6196
|
+
"beforePack": {
|
|
6197
|
+
"anyOf": [
|
|
6198
|
+
{
|
|
6199
|
+
"typeof": "function"
|
|
6200
|
+
},
|
|
6201
|
+
{
|
|
6202
|
+
"type": [
|
|
6203
|
+
"null",
|
|
6204
|
+
"string"
|
|
6205
|
+
]
|
|
6206
|
+
}
|
|
6207
|
+
]
|
|
6208
|
+
},
|
|
5918
6209
|
"buildDependenciesFromSource": {
|
|
5919
6210
|
"default": false,
|
|
5920
6211
|
"description": "Whether to build the application native dependencies from source.",
|
|
@@ -6004,6 +6295,10 @@
|
|
|
6004
6295
|
],
|
|
6005
6296
|
"description": "macOS DMG options."
|
|
6006
6297
|
},
|
|
6298
|
+
"electronBranding": {
|
|
6299
|
+
"$ref": "#/definitions/ElectronBrandingOptions",
|
|
6300
|
+
"description": "The branding used by Electron's distributables. This is needed if a fork has modified Electron's BRANDING.json file."
|
|
6301
|
+
},
|
|
6007
6302
|
"electronCompile": {
|
|
6008
6303
|
"description": "Whether to use [electron-compile](http://github.com/electron/electron-compile) to compile app. Defaults to `true` if `electron-compile` in the dependencies. And `false` if in the `devDependencies` or doesn't specified.",
|
|
6009
6304
|
"type": "boolean"
|
|
@@ -6019,10 +6314,6 @@
|
|
|
6019
6314
|
],
|
|
6020
6315
|
"description": "Returns the path to custom Electron build (e.g. `~/electron/out/R`). Zip files must follow the pattern `electron-v${version}-${platformName}-${arch}.zip`, otherwise it will be assumed to be an unpacked Electron app directory"
|
|
6021
6316
|
},
|
|
6022
|
-
"electronBranding": {
|
|
6023
|
-
"$ref": "#/definitions/ElectronBrandingOptions",
|
|
6024
|
-
"description": "The branding used by Electron's distributables. This is needed if a fork has modified Electron's BRANDING.json file."
|
|
6025
|
-
},
|
|
6026
6317
|
"electronDownload": {
|
|
6027
6318
|
"$ref": "#/definitions/ElectronDownloadOptions",
|
|
6028
6319
|
"description": "The [electron-download](https://github.com/electron-userland/electron-download#usage) options."
|
|
@@ -6211,7 +6502,7 @@
|
|
|
6211
6502
|
},
|
|
6212
6503
|
"includeSubNodeModules": {
|
|
6213
6504
|
"default": false,
|
|
6214
|
-
"description": "Whether to include *all* of the submodules
|
|
6505
|
+
"description": "Whether to include *all* of the submodules node_modules directories",
|
|
6215
6506
|
"type": "boolean"
|
|
6216
6507
|
},
|
|
6217
6508
|
"launchUiVersion": {
|
|
@@ -6440,6 +6731,9 @@
|
|
|
6440
6731
|
{
|
|
6441
6732
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
6442
6733
|
},
|
|
6734
|
+
{
|
|
6735
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
6736
|
+
},
|
|
6443
6737
|
{
|
|
6444
6738
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
6445
6739
|
},
|
|
@@ -6464,6 +6758,9 @@
|
|
|
6464
6758
|
{
|
|
6465
6759
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
6466
6760
|
},
|
|
6761
|
+
{
|
|
6762
|
+
"$ref": "#/definitions/KeygenOptions"
|
|
6763
|
+
},
|
|
6467
6764
|
{
|
|
6468
6765
|
"$ref": "#/definitions/SnapStoreOptions"
|
|
6469
6766
|
},
|
|
@@ -6491,14 +6788,14 @@
|
|
|
6491
6788
|
"description": "Whether to build using Electron Build Service if target not supported on current OS.",
|
|
6492
6789
|
"type": "boolean"
|
|
6493
6790
|
},
|
|
6494
|
-
"
|
|
6791
|
+
"removePackageKeywords": {
|
|
6495
6792
|
"default": true,
|
|
6496
|
-
"description": "Whether to remove `
|
|
6793
|
+
"description": "Whether to remove `keywords` field from `package.json` files.",
|
|
6497
6794
|
"type": "boolean"
|
|
6498
6795
|
},
|
|
6499
|
-
"
|
|
6796
|
+
"removePackageScripts": {
|
|
6500
6797
|
"default": true,
|
|
6501
|
-
"description": "Whether to remove `
|
|
6798
|
+
"description": "Whether to remove `scripts` field from `package.json` files.",
|
|
6502
6799
|
"type": "boolean"
|
|
6503
6800
|
},
|
|
6504
6801
|
"rpm": {
|
|
@@ -6578,4 +6875,4 @@
|
|
|
6578
6875
|
}
|
|
6579
6876
|
},
|
|
6580
6877
|
"type": "object"
|
|
6581
|
-
}
|
|
6878
|
+
}
|