You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/config-schema/schema.json
+107-5Lines changed: 107 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,7 @@
146
146
"allowDowngrades": true,
147
147
"certificateThumbprint": null,
148
148
"digestAlgorithm": null,
149
+
"nsis": null,
149
150
"timestampUrl": null,
150
151
"tsp": false,
151
152
"webviewFixedRuntimePath": null,
@@ -169,7 +170,8 @@
169
170
"dialog": true,
170
171
"pubkey": "",
171
172
"windows": {
172
-
"installMode": "passive"
173
+
"installMode": "passive",
174
+
"installerArgs": []
173
175
}
174
176
},
175
177
"windows": []
@@ -282,6 +284,7 @@
282
284
"allowDowngrades": true,
283
285
"certificateThumbprint": null,
284
286
"digestAlgorithm": null,
287
+
"nsis": null,
285
288
"timestampUrl": null,
286
289
"tsp": false,
287
290
"webviewFixedRuntimePath": null,
@@ -427,7 +430,8 @@
427
430
"dialog": true,
428
431
"pubkey": "",
429
432
"windows": {
430
-
"installMode": "passive"
433
+
"installMode": "passive",
434
+
"installerArgs": []
431
435
}
432
436
},
433
437
"allOf": [
@@ -1018,7 +1022,7 @@
1018
1022
"type": "boolean"
1019
1023
},
1020
1024
"targets": {
1021
-
"description": "The bundle targets, currently supports [\"deb\", \"appimage\", \"msi\", \"app\", \"dmg\", \"updater\"] or \"all\".",
1025
+
"description": "The bundle targets, currently supports [\"deb\", \"appimage\", \"nsis\", \"msi\", \"app\", \"dmg\", \"updater\"] or \"all\".",
1022
1026
"default": "all",
1023
1027
"allOf": [
1024
1028
{
@@ -1132,6 +1136,7 @@
1132
1136
"allowDowngrades": true,
1133
1137
"certificateThumbprint": null,
1134
1138
"digestAlgorithm": null,
1139
+
"nsis": null,
1135
1140
"timestampUrl": null,
1136
1141
"tsp": false,
1137
1142
"webviewFixedRuntimePath": null,
@@ -1200,6 +1205,13 @@
1200
1205
"msi"
1201
1206
]
1202
1207
},
1208
+
{
1209
+
"description": "The NSIS bundle (.exe).",
1210
+
"type": "string",
1211
+
"enum": [
1212
+
"nsis"
1213
+
]
1214
+
},
1203
1215
{
1204
1216
"description": "The macOS application bundle (.app).",
1205
1217
"type": "string",
@@ -1384,6 +1396,17 @@
1384
1396
"type": "null"
1385
1397
}
1386
1398
]
1399
+
},
1400
+
"nsis": {
1401
+
"description": "Configuration for the installer generated with NSIS.",
1402
+
"anyOf": [
1403
+
{
1404
+
"$ref": "#/definitions/NsisConfig"
1405
+
},
1406
+
{
1407
+
"type": "null"
1408
+
}
1409
+
]
1387
1410
}
1388
1411
},
1389
1412
"additionalProperties": false
@@ -1632,6 +1655,76 @@
1632
1655
},
1633
1656
"additionalProperties": false
1634
1657
},
1658
+
"NsisConfig": {
1659
+
"description": "Configuration for the Installer bundle using NSIS.",
1660
+
"type": "object",
1661
+
"properties": {
1662
+
"license": {
1663
+
"description": "The path to the license file to render on the installer.",
1664
+
"type": [
1665
+
"string",
1666
+
"null"
1667
+
]
1668
+
},
1669
+
"headerImage": {
1670
+
"description": "The path to a bitmap file to display on the header of installers pages.\n\nThe recommended dimensions are 150px x 57px.",
1671
+
"type": [
1672
+
"string",
1673
+
"null"
1674
+
]
1675
+
},
1676
+
"sidebarImage": {
1677
+
"description": "The path to a bitmap file for the Welcome page and the Finish page.\n\nThe recommended dimensions are 164px x 314px.",
1678
+
"type": [
1679
+
"string",
1680
+
"null"
1681
+
]
1682
+
},
1683
+
"installerIcon": {
1684
+
"description": "The path to an icon file used as the installer icon.",
1685
+
"type": [
1686
+
"string",
1687
+
"null"
1688
+
]
1689
+
},
1690
+
"installMode": {
1691
+
"description": "Whether the installation will be for all users or just the current user.",
1692
+
"default": "currentUser",
1693
+
"allOf": [
1694
+
{
1695
+
"$ref": "#/definitions/NSISInstallerMode"
1696
+
}
1697
+
]
1698
+
}
1699
+
},
1700
+
"additionalProperties": false
1701
+
},
1702
+
"NSISInstallerMode": {
1703
+
"description": "Install Modes for the NSIS installer.",
1704
+
"oneOf": [
1705
+
{
1706
+
"description": "Default mode for the installer.\n\nInstall the app by default in a directory that doesn't require Administrator access.\n\nInstaller metadata will be saved under the `HKCU` registry path.",
1707
+
"type": "string",
1708
+
"enum": [
1709
+
"currentUser"
1710
+
]
1711
+
},
1712
+
{
1713
+
"description": "Install the app by default in the `Program Files` folder directory requires Administrator access for the installation.\n\nInstaller metadata will be saved under the `HKLM` registry path.",
1714
+
"type": "string",
1715
+
"enum": [
1716
+
"perMachine"
1717
+
]
1718
+
},
1719
+
{
1720
+
"description": "Combines both modes and allows the user to choose at install time whether to install for the current user or per machine. Note that this mode will require Administrator access even if the user wants to install it for the current user only.\n\nInstaller metadata will be saved under the `HKLM` or `HKCU` registry path based on the user's choice.",
1721
+
"type": "string",
1722
+
"enum": [
1723
+
"both"
1724
+
]
1725
+
}
1726
+
]
1727
+
},
1635
1728
"AllowlistConfig": {
1636
1729
"description": "Allowlist configuration.",
1637
1730
"type": "object",
@@ -2579,7 +2672,8 @@
2579
2672
"windows": {
2580
2673
"description": "The Windows configuration for the updater.",
2581
2674
"default": {
2582
-
"installMode": "passive"
2675
+
"installMode": "passive",
2676
+
"installerArgs": []
2583
2677
},
2584
2678
"allOf": [
2585
2679
{
@@ -2599,6 +2693,14 @@
2599
2693
"description": "The updater configuration for Windows.",
2600
2694
"type": "object",
2601
2695
"properties": {
2696
+
"installerArgs": {
2697
+
"description": "Additional arguments given to the NSIS or WiX installer.",
2698
+
"default": [],
2699
+
"type": "array",
2700
+
"items": {
2701
+
"type": "string"
2702
+
}
2703
+
},
2602
2704
"installMode": {
2603
2705
"description": "The installation mode for the update on Windows. Defaults to `passive`.",
2604
2706
"default": "passive",
@@ -2622,7 +2724,7 @@
2622
2724
]
2623
2725
},
2624
2726
{
2625
-
"description": "The quiet mode means there's no user interaction required. Requires admin privileges if the installer does.",
2727
+
"description": "The quiet mode means there's no user interaction required. Requires admin privileges if the installer does (WiX).",
0 commit comments