app-builder-lib 22.14.13 → 23.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/asar/asar.d.ts +1 -0
- package/out/asar/asar.js +11 -4
- package/out/asar/asar.js.map +1 -1
- package/out/asar/asarUtil.js +4 -2
- package/out/asar/asarUtil.js.map +1 -1
- package/out/asar/integrity.d.ts +13 -11
- package/out/asar/integrity.js +68 -12
- package/out/asar/integrity.js.map +1 -1
- package/out/codeSign/macCodeSign.js.map +1 -1
- package/out/configuration.d.ts +1 -0
- package/out/configuration.js.map +1 -1
- package/out/electron/electronMac.js +1 -1
- package/out/electron/electronMac.js.map +1 -1
- package/out/macPackager.js +3 -0
- package/out/macPackager.js.map +1 -1
- package/out/options/FileAssociation.d.ts +3 -3
- package/out/options/FileAssociation.js.map +1 -1
- package/out/options/MsiOptions.d.ts +0 -4
- package/out/options/MsiOptions.js.map +1 -1
- package/out/options/PlatformSpecificBuildOptions.d.ts +1 -2
- package/out/options/PlatformSpecificBuildOptions.js.map +1 -1
- package/out/options/SnapOptions.d.ts +5 -0
- package/out/options/SnapOptions.js.map +1 -1
- package/out/options/linuxOptions.d.ts +1 -1
- package/out/options/linuxOptions.js.map +1 -1
- package/out/options/macOptions.d.ts +15 -0
- package/out/options/macOptions.js.map +1 -1
- package/out/platformPackager.js +2 -1
- package/out/platformPackager.js.map +1 -1
- package/out/publish/PublishManager.js +7 -12
- package/out/publish/PublishManager.js.map +1 -1
- package/out/publish/s3/s3Publisher.d.ts +1 -1
- package/out/publish/s3/s3Publisher.js +1 -1
- package/out/publish/s3/s3Publisher.js.map +1 -1
- package/out/publish/s3/spacesPublisher.d.ts +1 -1
- package/out/publish/s3/spacesPublisher.js +1 -1
- package/out/publish/s3/spacesPublisher.js.map +1 -1
- package/out/publish/updateInfoBuilder.js +2 -4
- package/out/publish/updateInfoBuilder.js.map +1 -1
- package/out/targets/MsiTarget.d.ts +6 -0
- package/out/targets/MsiTarget.js +32 -21
- package/out/targets/MsiTarget.js.map +1 -1
- package/out/targets/nsis/NsisTarget.js +1 -0
- package/out/targets/nsis/NsisTarget.js.map +1 -1
- package/out/targets/snap.js +4 -0
- package/out/targets/snap.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/package.json +8 -8
- package/scheme.json +39 -215
- package/templates/msi/template.xml +42 -15
- package/templates/nsis/include/extractAppPackage.nsh +36 -0
- package/templates/nsis/include/installUtil.nsh +36 -8
- package/templates/nsis/messages.yml +2 -0
- package/templates/nsis/uninstaller.nsh +131 -7
- package/templates/snap/snapcraft.yaml +1 -0
- package/out/publish/BintrayPublisher.d.ts +0 -17
- package/out/publish/BintrayPublisher.js +0 -89
- package/out/publish/BintrayPublisher.js.map +0 -1
- package/templates/msi/WixUI_Assisted.wxs +0 -134
package/scheme.json
CHANGED
|
@@ -78,9 +78,6 @@
|
|
|
78
78
|
{
|
|
79
79
|
"$ref": "#/definitions/GenericServerOptions"
|
|
80
80
|
},
|
|
81
|
-
{
|
|
82
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
83
|
-
},
|
|
84
81
|
{
|
|
85
82
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
86
83
|
},
|
|
@@ -108,9 +105,6 @@
|
|
|
108
105
|
{
|
|
109
106
|
"$ref": "#/definitions/GenericServerOptions"
|
|
110
107
|
},
|
|
111
|
-
{
|
|
112
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
113
|
-
},
|
|
114
108
|
{
|
|
115
109
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
116
110
|
},
|
|
@@ -240,9 +234,6 @@
|
|
|
240
234
|
{
|
|
241
235
|
"$ref": "#/definitions/GenericServerOptions"
|
|
242
236
|
},
|
|
243
|
-
{
|
|
244
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
245
|
-
},
|
|
246
237
|
{
|
|
247
238
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
248
239
|
},
|
|
@@ -270,9 +261,6 @@
|
|
|
270
261
|
{
|
|
271
262
|
"$ref": "#/definitions/GenericServerOptions"
|
|
272
263
|
},
|
|
273
|
-
{
|
|
274
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
275
|
-
},
|
|
276
264
|
{
|
|
277
265
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
278
266
|
},
|
|
@@ -330,11 +318,6 @@
|
|
|
330
318
|
"AsarOptions": {
|
|
331
319
|
"additionalProperties": false,
|
|
332
320
|
"properties": {
|
|
333
|
-
"externalAllowed": {
|
|
334
|
-
"default": false,
|
|
335
|
-
"description": "Allows external asar files.",
|
|
336
|
-
"type": "boolean"
|
|
337
|
-
},
|
|
338
321
|
"ordering": {
|
|
339
322
|
"type": [
|
|
340
323
|
"null",
|
|
@@ -349,101 +332,6 @@
|
|
|
349
332
|
},
|
|
350
333
|
"type": "object"
|
|
351
334
|
},
|
|
352
|
-
"BintrayOptions": {
|
|
353
|
-
"additionalProperties": false,
|
|
354
|
-
"description": "[Bintray](https://bintray.com/) options. Requires an API key. An API key can be obtained from the user [profile](https://bintray.com/profile/edit) page (\"Edit Your Profile\" -> API Key).\nDefine `BT_TOKEN` environment variable.",
|
|
355
|
-
"properties": {
|
|
356
|
-
"component": {
|
|
357
|
-
"description": "The Bintray component (Debian only).",
|
|
358
|
-
"type": [
|
|
359
|
-
"null",
|
|
360
|
-
"string"
|
|
361
|
-
]
|
|
362
|
-
},
|
|
363
|
-
"distribution": {
|
|
364
|
-
"default": "stable",
|
|
365
|
-
"description": "The Bintray distribution (Debian only).",
|
|
366
|
-
"type": [
|
|
367
|
-
"null",
|
|
368
|
-
"string"
|
|
369
|
-
]
|
|
370
|
-
},
|
|
371
|
-
"owner": {
|
|
372
|
-
"description": "The owner.",
|
|
373
|
-
"type": [
|
|
374
|
-
"null",
|
|
375
|
-
"string"
|
|
376
|
-
]
|
|
377
|
-
},
|
|
378
|
-
"package": {
|
|
379
|
-
"description": "The Bintray package name.",
|
|
380
|
-
"type": [
|
|
381
|
-
"null",
|
|
382
|
-
"string"
|
|
383
|
-
]
|
|
384
|
-
},
|
|
385
|
-
"provider": {
|
|
386
|
-
"description": "The provider. Must be `bintray`.",
|
|
387
|
-
"enum": [
|
|
388
|
-
"bintray"
|
|
389
|
-
],
|
|
390
|
-
"type": "string"
|
|
391
|
-
},
|
|
392
|
-
"publishAutoUpdate": {
|
|
393
|
-
"default": true,
|
|
394
|
-
"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.",
|
|
395
|
-
"type": "boolean"
|
|
396
|
-
},
|
|
397
|
-
"publisherName": {
|
|
398
|
-
"anyOf": [
|
|
399
|
-
{
|
|
400
|
-
"items": {
|
|
401
|
-
"type": "string"
|
|
402
|
-
},
|
|
403
|
-
"type": "array"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"type": "null"
|
|
407
|
-
}
|
|
408
|
-
]
|
|
409
|
-
},
|
|
410
|
-
"repo": {
|
|
411
|
-
"default": "generic",
|
|
412
|
-
"description": "The Bintray repository name.",
|
|
413
|
-
"type": [
|
|
414
|
-
"null",
|
|
415
|
-
"string"
|
|
416
|
-
]
|
|
417
|
-
},
|
|
418
|
-
"requestHeaders": {
|
|
419
|
-
"$ref": "#/definitions/OutgoingHttpHeaders",
|
|
420
|
-
"description": "Any custom request headers"
|
|
421
|
-
},
|
|
422
|
-
"token": {
|
|
423
|
-
"type": [
|
|
424
|
-
"null",
|
|
425
|
-
"string"
|
|
426
|
-
]
|
|
427
|
-
},
|
|
428
|
-
"updaterCacheDirName": {
|
|
429
|
-
"type": [
|
|
430
|
-
"null",
|
|
431
|
-
"string"
|
|
432
|
-
]
|
|
433
|
-
},
|
|
434
|
-
"user": {
|
|
435
|
-
"description": "The Bintray user account. Used in cases where the owner is an organization.",
|
|
436
|
-
"type": [
|
|
437
|
-
"null",
|
|
438
|
-
"string"
|
|
439
|
-
]
|
|
440
|
-
}
|
|
441
|
-
},
|
|
442
|
-
"required": [
|
|
443
|
-
"provider"
|
|
444
|
-
],
|
|
445
|
-
"type": "object"
|
|
446
|
-
},
|
|
447
335
|
"BitbucketOptions": {
|
|
448
336
|
"additionalProperties": false,
|
|
449
337
|
"description": "Bitbucket options.\nhttps://bitbucket.org/\nDefine `BITBUCKET_TOKEN` environment variable.\n\nFor converting an app password to a usable token, you can utilize this\n```typescript\nconvertAppPassword(owner: string, token: string) {\nconst base64encodedData = Buffer.from(`${owner}:${token.trim()}`).toString(\"base64\")\nreturn `Basic ${base64encodedData}`\n}\n```",
|
|
@@ -634,6 +522,7 @@
|
|
|
634
522
|
"enum": [
|
|
635
523
|
"bzip2",
|
|
636
524
|
"gz",
|
|
525
|
+
"lzo",
|
|
637
526
|
"xz"
|
|
638
527
|
],
|
|
639
528
|
"type": "string"
|
|
@@ -755,9 +644,6 @@
|
|
|
755
644
|
{
|
|
756
645
|
"$ref": "#/definitions/GenericServerOptions"
|
|
757
646
|
},
|
|
758
|
-
{
|
|
759
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
760
|
-
},
|
|
761
647
|
{
|
|
762
648
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
763
649
|
},
|
|
@@ -785,9 +671,6 @@
|
|
|
785
671
|
{
|
|
786
672
|
"$ref": "#/definitions/GenericServerOptions"
|
|
787
673
|
},
|
|
788
|
-
{
|
|
789
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
790
|
-
},
|
|
791
674
|
{
|
|
792
675
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
793
676
|
},
|
|
@@ -951,9 +834,6 @@
|
|
|
951
834
|
{
|
|
952
835
|
"$ref": "#/definitions/GenericServerOptions"
|
|
953
836
|
},
|
|
954
|
-
{
|
|
955
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
956
|
-
},
|
|
957
837
|
{
|
|
958
838
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
959
839
|
},
|
|
@@ -981,9 +861,6 @@
|
|
|
981
861
|
{
|
|
982
862
|
"$ref": "#/definitions/GenericServerOptions"
|
|
983
863
|
},
|
|
984
|
-
{
|
|
985
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
986
|
-
},
|
|
987
864
|
{
|
|
988
865
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
989
866
|
},
|
|
@@ -1127,7 +1004,7 @@
|
|
|
1127
1004
|
},
|
|
1128
1005
|
"FileAssociation": {
|
|
1129
1006
|
"additionalProperties": false,
|
|
1130
|
-
"description": "File associations.\n\nmacOS (corresponds to [CFBundleDocumentTypes](https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-101685)) and
|
|
1007
|
+
"description": "File associations.\n\nmacOS (corresponds to [CFBundleDocumentTypes](https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-101685)), NSIS, and MSI only.\n\nOn Windows (NSIS) works only if [nsis.perMachine](https://electron.build/configuration/configuration#NsisOptions-perMachine) is set to `true`.",
|
|
1131
1008
|
"properties": {
|
|
1132
1009
|
"description": {
|
|
1133
1010
|
"description": "*windows-only.* The description.",
|
|
@@ -1151,7 +1028,7 @@
|
|
|
1151
1028
|
"description": "The extension (minus the leading period). e.g. `png`."
|
|
1152
1029
|
},
|
|
1153
1030
|
"icon": {
|
|
1154
|
-
"description": "The path to icon (`.icns` for MacOS and `.ico` for Windows), relative to `build` (build resources directory). Defaults to `${firstExt}.icns`/`${firstExt}.ico` (if several extensions specified, first is used) or to application icon.\n\nNot supported on Linux, file issue if need (default icon will be `x-office-document`).",
|
|
1031
|
+
"description": "The path to icon (`.icns` for MacOS and `.ico` for Windows), relative to `build` (build resources directory). Defaults to `${firstExt}.icns`/`${firstExt}.ico` (if several extensions specified, first is used) or to application icon.\n\nNot supported on Linux, file issue if need (default icon will be `x-office-document`). Not supported on MSI.",
|
|
1155
1032
|
"type": [
|
|
1156
1033
|
"null",
|
|
1157
1034
|
"string"
|
|
@@ -1336,9 +1213,6 @@
|
|
|
1336
1213
|
{
|
|
1337
1214
|
"$ref": "#/definitions/GenericServerOptions"
|
|
1338
1215
|
},
|
|
1339
|
-
{
|
|
1340
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
1341
|
-
},
|
|
1342
1216
|
{
|
|
1343
1217
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
1344
1218
|
},
|
|
@@ -1366,9 +1240,6 @@
|
|
|
1366
1240
|
{
|
|
1367
1241
|
"$ref": "#/definitions/GenericServerOptions"
|
|
1368
1242
|
},
|
|
1369
|
-
{
|
|
1370
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
1371
|
-
},
|
|
1372
1243
|
{
|
|
1373
1244
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
1374
1245
|
},
|
|
@@ -2002,9 +1873,6 @@
|
|
|
2002
1873
|
{
|
|
2003
1874
|
"$ref": "#/definitions/GenericServerOptions"
|
|
2004
1875
|
},
|
|
2005
|
-
{
|
|
2006
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
2007
|
-
},
|
|
2008
1876
|
{
|
|
2009
1877
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
2010
1878
|
},
|
|
@@ -2032,9 +1900,6 @@
|
|
|
2032
1900
|
{
|
|
2033
1901
|
"$ref": "#/definitions/GenericServerOptions"
|
|
2034
1902
|
},
|
|
2035
|
-
{
|
|
2036
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
2037
|
-
},
|
|
2038
1903
|
{
|
|
2039
1904
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
2040
1905
|
},
|
|
@@ -2146,6 +2011,7 @@
|
|
|
2146
2011
|
"enum": [
|
|
2147
2012
|
"bzip2",
|
|
2148
2013
|
"gz",
|
|
2014
|
+
"lzo",
|
|
2149
2015
|
"xz"
|
|
2150
2016
|
],
|
|
2151
2017
|
"type": "string"
|
|
@@ -2260,9 +2126,6 @@
|
|
|
2260
2126
|
{
|
|
2261
2127
|
"$ref": "#/definitions/GenericServerOptions"
|
|
2262
2128
|
},
|
|
2263
|
-
{
|
|
2264
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
2265
|
-
},
|
|
2266
2129
|
{
|
|
2267
2130
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
2268
2131
|
},
|
|
@@ -2290,9 +2153,6 @@
|
|
|
2290
2153
|
{
|
|
2291
2154
|
"$ref": "#/definitions/GenericServerOptions"
|
|
2292
2155
|
},
|
|
2293
|
-
{
|
|
2294
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
2295
|
-
},
|
|
2296
2156
|
{
|
|
2297
2157
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
2298
2158
|
},
|
|
@@ -2718,6 +2578,11 @@
|
|
|
2718
2578
|
"string"
|
|
2719
2579
|
]
|
|
2720
2580
|
},
|
|
2581
|
+
"mergeASARs": {
|
|
2582
|
+
"default": true,
|
|
2583
|
+
"description": "Whether to merge ASAR files for different architectures or not.\n\nThis option has no effect unless building for \"universal\" arch.",
|
|
2584
|
+
"type": "boolean"
|
|
2585
|
+
},
|
|
2721
2586
|
"minimumSystemVersion": {
|
|
2722
2587
|
"description": "The minimum version of macOS required for the app to run. Corresponds to `LSMinimumSystemVersion`.",
|
|
2723
2588
|
"type": [
|
|
@@ -2760,9 +2625,6 @@
|
|
|
2760
2625
|
{
|
|
2761
2626
|
"$ref": "#/definitions/GenericServerOptions"
|
|
2762
2627
|
},
|
|
2763
|
-
{
|
|
2764
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
2765
|
-
},
|
|
2766
2628
|
{
|
|
2767
2629
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
2768
2630
|
},
|
|
@@ -2790,9 +2652,6 @@
|
|
|
2790
2652
|
{
|
|
2791
2653
|
"$ref": "#/definitions/GenericServerOptions"
|
|
2792
2654
|
},
|
|
2793
|
-
{
|
|
2794
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
2795
|
-
},
|
|
2796
2655
|
{
|
|
2797
2656
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
2798
2657
|
},
|
|
@@ -2848,6 +2707,10 @@
|
|
|
2848
2707
|
],
|
|
2849
2708
|
"description": "Regex or an array of regex's that signal skipping signing a file."
|
|
2850
2709
|
},
|
|
2710
|
+
"singleArchFiles": {
|
|
2711
|
+
"description": "Minimatch pattern of paths that are allowed to be present in one of the\nASAR files, but not in the other.\n\nThis option has no effect unless building for \"universal\" arch and applies\nonly if `mergeASARs` is `true`.",
|
|
2712
|
+
"type": "string"
|
|
2713
|
+
},
|
|
2851
2714
|
"strictVerify": {
|
|
2852
2715
|
"anyOf": [
|
|
2853
2716
|
{
|
|
@@ -3329,6 +3192,11 @@
|
|
|
3329
3192
|
"string"
|
|
3330
3193
|
]
|
|
3331
3194
|
},
|
|
3195
|
+
"mergeASARs": {
|
|
3196
|
+
"default": true,
|
|
3197
|
+
"description": "Whether to merge ASAR files for different architectures or not.\n\nThis option has no effect unless building for \"universal\" arch.",
|
|
3198
|
+
"type": "boolean"
|
|
3199
|
+
},
|
|
3332
3200
|
"minimumSystemVersion": {
|
|
3333
3201
|
"description": "The minimum version of macOS required for the app to run. Corresponds to `LSMinimumSystemVersion`.",
|
|
3334
3202
|
"type": [
|
|
@@ -3371,9 +3239,6 @@
|
|
|
3371
3239
|
{
|
|
3372
3240
|
"$ref": "#/definitions/GenericServerOptions"
|
|
3373
3241
|
},
|
|
3374
|
-
{
|
|
3375
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
3376
|
-
},
|
|
3377
3242
|
{
|
|
3378
3243
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3379
3244
|
},
|
|
@@ -3401,9 +3266,6 @@
|
|
|
3401
3266
|
{
|
|
3402
3267
|
"$ref": "#/definitions/GenericServerOptions"
|
|
3403
3268
|
},
|
|
3404
|
-
{
|
|
3405
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
3406
|
-
},
|
|
3407
3269
|
{
|
|
3408
3270
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3409
3271
|
},
|
|
@@ -3459,6 +3321,10 @@
|
|
|
3459
3321
|
],
|
|
3460
3322
|
"description": "Regex or an array of regex's that signal skipping signing a file."
|
|
3461
3323
|
},
|
|
3324
|
+
"singleArchFiles": {
|
|
3325
|
+
"description": "Minimatch pattern of paths that are allowed to be present in one of the\nASAR files, but not in the other.\n\nThis option has no effect unless building for \"universal\" arch and applies\nonly if `mergeASARs` is `true`.",
|
|
3326
|
+
"type": "string"
|
|
3327
|
+
},
|
|
3462
3328
|
"strictVerify": {
|
|
3463
3329
|
"anyOf": [
|
|
3464
3330
|
{
|
|
@@ -3625,10 +3491,6 @@
|
|
|
3625
3491
|
"description": "Whether to create start menu shortcut.",
|
|
3626
3492
|
"type": "boolean"
|
|
3627
3493
|
},
|
|
3628
|
-
"iconId": {
|
|
3629
|
-
"description": "The [shortcut iconId](https://wixtoolset.org/documentation/manual/v4/reference/wxs/shortcut/). Optional, by default generated using app file name.",
|
|
3630
|
-
"type": "string"
|
|
3631
|
-
},
|
|
3632
3494
|
"menuCategory": {
|
|
3633
3495
|
"default": false,
|
|
3634
3496
|
"description": "Whether to create submenu for start menu shortcut and program files directory. If `true`, company name will be used. Or string value.",
|
|
@@ -3661,9 +3523,6 @@
|
|
|
3661
3523
|
{
|
|
3662
3524
|
"$ref": "#/definitions/GenericServerOptions"
|
|
3663
3525
|
},
|
|
3664
|
-
{
|
|
3665
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
3666
|
-
},
|
|
3667
3526
|
{
|
|
3668
3527
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3669
3528
|
},
|
|
@@ -3691,9 +3550,6 @@
|
|
|
3691
3550
|
{
|
|
3692
3551
|
"$ref": "#/definitions/GenericServerOptions"
|
|
3693
3552
|
},
|
|
3694
|
-
{
|
|
3695
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
3696
|
-
},
|
|
3697
3553
|
{
|
|
3698
3554
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3699
3555
|
},
|
|
@@ -3955,9 +3811,6 @@
|
|
|
3955
3811
|
{
|
|
3956
3812
|
"$ref": "#/definitions/GenericServerOptions"
|
|
3957
3813
|
},
|
|
3958
|
-
{
|
|
3959
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
3960
|
-
},
|
|
3961
3814
|
{
|
|
3962
3815
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3963
3816
|
},
|
|
@@ -3985,9 +3838,6 @@
|
|
|
3985
3838
|
{
|
|
3986
3839
|
"$ref": "#/definitions/GenericServerOptions"
|
|
3987
3840
|
},
|
|
3988
|
-
{
|
|
3989
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
3990
|
-
},
|
|
3991
3841
|
{
|
|
3992
3842
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
3993
3843
|
},
|
|
@@ -4285,9 +4135,6 @@
|
|
|
4285
4135
|
{
|
|
4286
4136
|
"$ref": "#/definitions/GenericServerOptions"
|
|
4287
4137
|
},
|
|
4288
|
-
{
|
|
4289
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
4290
|
-
},
|
|
4291
4138
|
{
|
|
4292
4139
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4293
4140
|
},
|
|
@@ -4315,9 +4162,6 @@
|
|
|
4315
4162
|
{
|
|
4316
4163
|
"$ref": "#/definitions/GenericServerOptions"
|
|
4317
4164
|
},
|
|
4318
|
-
{
|
|
4319
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
4320
|
-
},
|
|
4321
4165
|
{
|
|
4322
4166
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4323
4167
|
},
|
|
@@ -4612,9 +4456,6 @@
|
|
|
4612
4456
|
{
|
|
4613
4457
|
"$ref": "#/definitions/GenericServerOptions"
|
|
4614
4458
|
},
|
|
4615
|
-
{
|
|
4616
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
4617
|
-
},
|
|
4618
4459
|
{
|
|
4619
4460
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4620
4461
|
},
|
|
@@ -4642,9 +4483,6 @@
|
|
|
4642
4483
|
{
|
|
4643
4484
|
"$ref": "#/definitions/GenericServerOptions"
|
|
4644
4485
|
},
|
|
4645
|
-
{
|
|
4646
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
4647
|
-
},
|
|
4648
4486
|
{
|
|
4649
4487
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4650
4488
|
},
|
|
@@ -4752,9 +4590,6 @@
|
|
|
4752
4590
|
{
|
|
4753
4591
|
"$ref": "#/definitions/GenericServerOptions"
|
|
4754
4592
|
},
|
|
4755
|
-
{
|
|
4756
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
4757
|
-
},
|
|
4758
4593
|
{
|
|
4759
4594
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4760
4595
|
},
|
|
@@ -4782,9 +4617,6 @@
|
|
|
4782
4617
|
{
|
|
4783
4618
|
"$ref": "#/definitions/GenericServerOptions"
|
|
4784
4619
|
},
|
|
4785
|
-
{
|
|
4786
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
4787
|
-
},
|
|
4788
4620
|
{
|
|
4789
4621
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
4790
4622
|
},
|
|
@@ -5139,6 +4971,22 @@
|
|
|
5139
4971
|
"string"
|
|
5140
4972
|
]
|
|
5141
4973
|
},
|
|
4974
|
+
"compression": {
|
|
4975
|
+
"anyOf": [
|
|
4976
|
+
{
|
|
4977
|
+
"enum": [
|
|
4978
|
+
"lzo",
|
|
4979
|
+
"xz"
|
|
4980
|
+
],
|
|
4981
|
+
"type": "string"
|
|
4982
|
+
},
|
|
4983
|
+
{
|
|
4984
|
+
"type": "null"
|
|
4985
|
+
}
|
|
4986
|
+
],
|
|
4987
|
+
"default": "lzo",
|
|
4988
|
+
"description": "Sets the compression type for the snap. Can be xz or lzo. Defaults to lzo when not specified."
|
|
4989
|
+
},
|
|
5142
4990
|
"confinement": {
|
|
5143
4991
|
"anyOf": [
|
|
5144
4992
|
{
|
|
@@ -5281,9 +5129,6 @@
|
|
|
5281
5129
|
{
|
|
5282
5130
|
"$ref": "#/definitions/GenericServerOptions"
|
|
5283
5131
|
},
|
|
5284
|
-
{
|
|
5285
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
5286
|
-
},
|
|
5287
5132
|
{
|
|
5288
5133
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
5289
5134
|
},
|
|
@@ -5311,9 +5156,6 @@
|
|
|
5311
5156
|
{
|
|
5312
5157
|
"$ref": "#/definitions/GenericServerOptions"
|
|
5313
5158
|
},
|
|
5314
|
-
{
|
|
5315
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
5316
|
-
},
|
|
5317
5159
|
{
|
|
5318
5160
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
5319
5161
|
},
|
|
@@ -5609,9 +5451,6 @@
|
|
|
5609
5451
|
{
|
|
5610
5452
|
"$ref": "#/definitions/GenericServerOptions"
|
|
5611
5453
|
},
|
|
5612
|
-
{
|
|
5613
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
5614
|
-
},
|
|
5615
5454
|
{
|
|
5616
5455
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
5617
5456
|
},
|
|
@@ -5639,9 +5478,6 @@
|
|
|
5639
5478
|
{
|
|
5640
5479
|
"$ref": "#/definitions/GenericServerOptions"
|
|
5641
5480
|
},
|
|
5642
|
-
{
|
|
5643
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
5644
|
-
},
|
|
5645
5481
|
{
|
|
5646
5482
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
5647
5483
|
},
|
|
@@ -6012,9 +5848,6 @@
|
|
|
6012
5848
|
{
|
|
6013
5849
|
"$ref": "#/definitions/GenericServerOptions"
|
|
6014
5850
|
},
|
|
6015
|
-
{
|
|
6016
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
6017
|
-
},
|
|
6018
5851
|
{
|
|
6019
5852
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
6020
5853
|
},
|
|
@@ -6042,9 +5875,6 @@
|
|
|
6042
5875
|
{
|
|
6043
5876
|
"$ref": "#/definitions/GenericServerOptions"
|
|
6044
5877
|
},
|
|
6045
|
-
{
|
|
6046
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
6047
|
-
},
|
|
6048
5878
|
{
|
|
6049
5879
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
6050
5880
|
},
|
|
@@ -6883,7 +6713,7 @@
|
|
|
6883
6713
|
]
|
|
6884
6714
|
},
|
|
6885
6715
|
"productName": {
|
|
6886
|
-
"description": "As [name](#Metadata-name), 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).",
|
|
6716
|
+
"description": "As [name](#Metadata-name), 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.",
|
|
6887
6717
|
"type": [
|
|
6888
6718
|
"null",
|
|
6889
6719
|
"string"
|
|
@@ -6917,9 +6747,6 @@
|
|
|
6917
6747
|
{
|
|
6918
6748
|
"$ref": "#/definitions/GenericServerOptions"
|
|
6919
6749
|
},
|
|
6920
|
-
{
|
|
6921
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
6922
|
-
},
|
|
6923
6750
|
{
|
|
6924
6751
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
6925
6752
|
},
|
|
@@ -6947,9 +6774,6 @@
|
|
|
6947
6774
|
{
|
|
6948
6775
|
"$ref": "#/definitions/GenericServerOptions"
|
|
6949
6776
|
},
|
|
6950
|
-
{
|
|
6951
|
-
"$ref": "#/definitions/BintrayOptions"
|
|
6952
|
-
},
|
|
6953
6777
|
{
|
|
6954
6778
|
"$ref": "#/definitions/CustomPublishOptions"
|
|
6955
6779
|
},
|
|
@@ -18,34 +18,61 @@
|
|
|
18
18
|
|
|
19
19
|
<Property Id="ApplicationFolderName" Value="${installationDirectoryWixName}"/>
|
|
20
20
|
<Property Id="WixAppFolder" Value="WixPerUserFolder"/>
|
|
21
|
+
<Property Id="DISABLEADVTSHORTCUTS" Value="1"/>
|
|
21
22
|
|
|
22
23
|
{{ if (iconPath) { }}
|
|
23
24
|
<Icon Id="${iconId}" SourceFile="${iconPath}"/>
|
|
24
25
|
<Property Id="ARPPRODUCTICON" Value="${iconId}"/>
|
|
25
26
|
{{ } -}}
|
|
26
27
|
|
|
27
|
-
{{ if (
|
|
28
|
-
|
|
28
|
+
{{ if (isRunAfterFinish) { }}
|
|
29
|
+
<CustomAction Id="runAfterFinish" FileKey="mainExecutable" ExeCommand="" Execute="immediate" Impersonate="yes" Return="asyncNoWait"/>
|
|
30
|
+
{{ if (!isAssisted) { }}
|
|
31
|
+
<!-- https://stackoverflow.com/questions/1871531/launch-after-install-with-no-ui -->
|
|
32
|
+
<InstallExecuteSequence>
|
|
33
|
+
<Custom Action="runAfterFinish" After="InstallFinalize">NOT Installed AND UILevel >= 4</Custom>
|
|
34
|
+
</InstallExecuteSequence>
|
|
35
|
+
{{ } -}}
|
|
29
36
|
{{ } -}}
|
|
30
37
|
|
|
31
|
-
<Property Id="ALLUSERS" Secure="yes" Value="2"/>
|
|
32
38
|
{{ if (isPerMachine) { }}
|
|
33
|
-
|
|
39
|
+
<Property Id="ALLUSERS" Secure="yes" Value="1"/>
|
|
34
40
|
{{ } else { }}
|
|
35
|
-
|
|
41
|
+
<Property Id="ALLUSERS" Secure="yes" Value="2"/>
|
|
36
42
|
{{ } -}}
|
|
43
|
+
<Property Id="MSIINSTALLPERUSER" Secure="yes" Value="1"/>
|
|
37
44
|
|
|
38
45
|
{{ if (isAssisted) { }}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
<WixVariable Id="WixUISupportPerUser" Value="1" Overridable="yes"/>
|
|
47
|
+
<WixVariable Id="WixUISupportPerMachine" Value="1" Overridable="yes"/>
|
|
48
|
+
{{ if (isPerMachine) { }}
|
|
49
|
+
<WixVariable Id="WixUISupportPerUser" Value="0"/>
|
|
50
|
+
{{ } -}}
|
|
51
|
+
|
|
52
|
+
{{ if (isRunAfterFinish) { }}
|
|
53
|
+
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/>
|
|
54
|
+
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Run ${productName}"/>
|
|
55
|
+
<UI>
|
|
56
|
+
<Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="runAfterFinish">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 AND NOT Installed</Publish>
|
|
57
|
+
</UI>
|
|
58
|
+
{{ } -}}
|
|
59
|
+
|
|
60
|
+
<UIRef Id="WixUI_InstallDir"/>
|
|
61
|
+
<UI>
|
|
62
|
+
<Publish Dialog="WelcomeDlg" Control="Next" Event="SpawnWaitDialog" Value="WaitForCostingDlg" Order="2">1 OR CostingComplete = 1</Publish>
|
|
63
|
+
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallScopeDlg" Order="2">NOT Installed</Publish>
|
|
64
|
+
|
|
65
|
+
<Publish Dialog="InstallScopeDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="1">1</Publish>
|
|
66
|
+
<Publish Dialog="InstallScopeDlg" Control="Next" Property="WixAppFolder" Value="WixPerUserFolder" Order="1">!(wix.WixUISupportPerUser) AND NOT Privileged</Publish>
|
|
67
|
+
<Publish Dialog="InstallScopeDlg" Control="Next" Property="WixAppFolder" Value="WixPerMachineFolder" Order="2">NOT !(wix.WixUISupportPerUser)</Publish>
|
|
68
|
+
<Publish Dialog="InstallScopeDlg" Control="Next" Property="ALLUSERS" Value="{}" Order="3">WixAppFolder = "WixPerUserFolder"</Publish>
|
|
69
|
+
<Publish Dialog="InstallScopeDlg" Control="Next" Property="ALLUSERS" Value="1" Order="4">WixAppFolder = "WixPerMachineFolder"</Publish>
|
|
70
|
+
<!-- Run 'FindRelatedProducts' again after changing the install scope, because its first run might have ignored an existing installation based on the default scope at the time. https://stackoverflow.com/a/35064434 -->
|
|
71
|
+
<Publish Dialog="InstallScopeDlg" Control="Next" Event="DoAction" Value="FindRelatedProducts" Order="5">1</Publish>
|
|
72
|
+
<Publish Dialog="InstallScopeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="6">1</Publish>
|
|
73
|
+
|
|
74
|
+
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallScopeDlg" Order="2">NOT Installed</Publish>
|
|
75
|
+
</UI>
|
|
49
76
|
{{ } -}}
|
|
50
77
|
|
|
51
78
|
<Directory Id="TARGETDIR" Name="SourceDir">
|