app-builder-lib 25.1.2 → 25.1.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/README.md +3 -0
- package/out/configuration.d.ts +1 -1
- package/out/configuration.js.map +1 -1
- package/out/core.d.ts +1 -1
- package/out/core.js.map +1 -1
- package/out/errorMessages.d.ts +1 -1
- package/out/errorMessages.js +1 -1
- package/out/errorMessages.js.map +1 -1
- package/out/index.d.ts +1 -1
- package/out/index.js.map +1 -1
- package/out/options/AppXOptions.d.ts +1 -1
- package/out/options/AppXOptions.js.map +1 -1
- package/out/options/FileAssociation.d.ts +1 -1
- package/out/options/FileAssociation.js.map +1 -1
- package/out/options/PlatformSpecificBuildOptions.d.ts +71 -14
- 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 +5 -5
- package/out/options/linuxOptions.js.map +1 -1
- package/out/options/macOptions.d.ts +4 -4
- package/out/options/macOptions.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 +5 -5
- package/out/options/winOptions.js.map +1 -1
- package/out/packager.d.ts +1 -1
- package/out/publish/BitbucketPublisher.js +1 -1
- package/out/publish/BitbucketPublisher.js.map +1 -1
- package/out/publish/KeygenPublisher.js +1 -1
- package/out/publish/KeygenPublisher.js.map +1 -1
- package/out/publish/PublishManager.js +1 -1
- package/out/publish/PublishManager.js.map +1 -1
- package/out/publish/s3/spacesPublisher.js +4 -4
- package/out/publish/s3/spacesPublisher.js.map +1 -1
- package/out/targets/FpmTarget.js +1 -1
- package/out/targets/FpmTarget.js.map +1 -1
- package/out/targets/LinuxTargetHelper.js +1 -1
- package/out/targets/LinuxTargetHelper.js.map +1 -1
- package/out/targets/MsiWrappedTarget.js.map +1 -1
- package/out/targets/nsis/NsisTarget.js +5 -4
- package/out/targets/nsis/NsisTarget.js.map +1 -1
- package/out/targets/nsis/nsisOptions.d.ts +9 -9
- package/out/targets/nsis/nsisOptions.js.map +1 -1
- package/out/util/appFileCopier.js +10 -11
- package/out/util/appFileCopier.js.map +1 -1
- package/out/util/config/config.js +2 -2
- package/out/util/config/config.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 +109 -94
- package/templates/nsis/README.md +2 -2
package/scheme.json
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"additionalProperties": false,
|
|
38
38
|
"properties": {
|
|
39
39
|
"artifactName": {
|
|
40
|
-
"description": "The [artifact file name template](
|
|
40
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
41
41
|
"type": [
|
|
42
42
|
"null",
|
|
43
43
|
"string"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
]
|
|
52
52
|
},
|
|
53
53
|
"description": {
|
|
54
|
-
"description": "As [description](
|
|
54
|
+
"description": "As [description](./configuration.md#Metadata-description) from application package.json, but allows you to specify different for Linux.",
|
|
55
55
|
"type": [
|
|
56
56
|
"null",
|
|
57
57
|
"string"
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"type": "string"
|
|
158
158
|
},
|
|
159
159
|
"artifactName": {
|
|
160
|
-
"description": "The [artifact file name template](
|
|
160
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
161
161
|
"type": [
|
|
162
162
|
"null",
|
|
163
163
|
"string"
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"type": "boolean"
|
|
188
188
|
},
|
|
189
189
|
"identityName": {
|
|
190
|
-
"description": "The name. Corresponds to [Identity.Name](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx). Defaults to the [application name](
|
|
190
|
+
"description": "The name. Corresponds to [Identity.Name](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx). Defaults to the [application name](./configuration.md#Metadata-name).",
|
|
191
191
|
"type": [
|
|
192
192
|
"null",
|
|
193
193
|
"string"
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
]
|
|
524
524
|
},
|
|
525
525
|
"artifactName": {
|
|
526
|
-
"description": "The [artifact file name template](
|
|
526
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
527
527
|
"type": [
|
|
528
528
|
"null",
|
|
529
529
|
"string"
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
"description": "Package dependencies. Defaults to `[\"gconf2\", \"gconf-service\", \"libnotify4\", \"libappindicator1\", \"libxtst6\", \"libnss3\"]`.\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)."
|
|
570
570
|
},
|
|
571
571
|
"description": {
|
|
572
|
-
"description": "As [description](
|
|
572
|
+
"description": "As [description](./configuration.md#Metadata-description) from application package.json, but allows you to specify different for Linux.",
|
|
573
573
|
"type": [
|
|
574
574
|
"null",
|
|
575
575
|
"string"
|
|
@@ -758,7 +758,7 @@
|
|
|
758
758
|
"additionalProperties": false,
|
|
759
759
|
"properties": {
|
|
760
760
|
"artifactName": {
|
|
761
|
-
"description": "The [artifact file name template](
|
|
761
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
762
762
|
"type": [
|
|
763
763
|
"null",
|
|
764
764
|
"string"
|
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
"type": "string"
|
|
800
800
|
},
|
|
801
801
|
"icon": {
|
|
802
|
-
"description": "The path to DMG icon (volume icon), which will be shown when mounted, relative to the [build resources](
|
|
802
|
+
"description": "The path to DMG icon (volume icon), which will be shown when mounted, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) or to the project directory.\nDefaults to the application icon (`build/icon.icns`).",
|
|
803
803
|
"type": [
|
|
804
804
|
"null",
|
|
805
805
|
"string"
|
|
@@ -982,7 +982,7 @@
|
|
|
982
982
|
},
|
|
983
983
|
"FileAssociation": {
|
|
984
984
|
"additionalProperties": false,
|
|
985
|
-
"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
|
|
985
|
+
"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.md#NsisOptions-perMachine) is set to `true`.",
|
|
986
986
|
"properties": {
|
|
987
987
|
"description": {
|
|
988
988
|
"description": "*windows-only.* The description.",
|
|
@@ -1061,14 +1061,14 @@
|
|
|
1061
1061
|
"type": "string"
|
|
1062
1062
|
}
|
|
1063
1063
|
],
|
|
1064
|
-
"description": "The [glob patterns](
|
|
1064
|
+
"description": "The [glob patterns](./file-patterns.md). Defaults to \"**\\/*\""
|
|
1065
1065
|
},
|
|
1066
1066
|
"from": {
|
|
1067
|
-
"description": "The source path relative to the project directory.",
|
|
1067
|
+
"description": "The source path relative to and defaults to:\n\n - the [app directory](configuration.md#MetadataDirectories-app) 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.",
|
|
1068
1068
|
"type": "string"
|
|
1069
1069
|
},
|
|
1070
1070
|
"to": {
|
|
1071
|
-
"description": "The destination path relative to the app's content directory for `extraFiles
|
|
1071
|
+
"description": "The destination path relative to and defaults to:\n\n - the asar archive root for `files`,\n - the app's content directory for `extraFiles`,\n - the app's resource directory for `extraResources`.",
|
|
1072
1072
|
"type": "string"
|
|
1073
1073
|
}
|
|
1074
1074
|
},
|
|
@@ -1078,7 +1078,7 @@
|
|
|
1078
1078
|
"additionalProperties": false,
|
|
1079
1079
|
"properties": {
|
|
1080
1080
|
"artifactName": {
|
|
1081
|
-
"description": "The [artifact file name template](
|
|
1081
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
1082
1082
|
"type": [
|
|
1083
1083
|
"null",
|
|
1084
1084
|
"string"
|
|
@@ -1104,7 +1104,7 @@
|
|
|
1104
1104
|
]
|
|
1105
1105
|
},
|
|
1106
1106
|
"description": {
|
|
1107
|
-
"description": "As [description](
|
|
1107
|
+
"description": "As [description](./configuration.md#Metadata-description) from application package.json, but allows you to specify different for Linux.",
|
|
1108
1108
|
"type": [
|
|
1109
1109
|
"null",
|
|
1110
1110
|
"string"
|
|
@@ -1262,7 +1262,7 @@
|
|
|
1262
1262
|
},
|
|
1263
1263
|
"GenericServerOptions": {
|
|
1264
1264
|
"additionalProperties": false,
|
|
1265
|
-
"description": "Generic (any HTTP(S) server) options.\nIn all publish options [File Macros](
|
|
1265
|
+
"description": "Generic (any HTTP(S) server) options.\nIn all publish options [File Macros](./file-patterns.md#file-macros) are supported.",
|
|
1266
1266
|
"properties": {
|
|
1267
1267
|
"channel": {
|
|
1268
1268
|
"default": "latest",
|
|
@@ -1356,7 +1356,7 @@
|
|
|
1356
1356
|
]
|
|
1357
1357
|
},
|
|
1358
1358
|
"private": {
|
|
1359
|
-
"description": "Whether to use private github auto-update provider if `GH_TOKEN` environment variable is defined. See [Private GitHub Update Repo](
|
|
1359
|
+
"description": "Whether to use private github auto-update provider if `GH_TOKEN` environment variable is defined. See [Private GitHub Update Repo](./auto-update.md#private-github-update-repo).",
|
|
1360
1360
|
"type": [
|
|
1361
1361
|
"null",
|
|
1362
1362
|
"boolean"
|
|
@@ -1438,7 +1438,7 @@
|
|
|
1438
1438
|
]
|
|
1439
1439
|
},
|
|
1440
1440
|
"token": {
|
|
1441
|
-
"description": "The access token to support auto-update from private github repositories. Never specify it in the configuration files. Only for [setFeedURL](
|
|
1441
|
+
"description": "The access token to support auto-update from private github repositories. Never specify it in the configuration files. Only for [setFeedURL](./auto-update.md#appupdatersetfeedurloptions).",
|
|
1442
1442
|
"type": [
|
|
1443
1443
|
"null",
|
|
1444
1444
|
"string"
|
|
@@ -1560,7 +1560,7 @@
|
|
|
1560
1560
|
]
|
|
1561
1561
|
},
|
|
1562
1562
|
"artifactName": {
|
|
1563
|
-
"description": "The [artifact file name template](
|
|
1563
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template). Defaults to `${productName}-${version}.${ext}` (some target can have other defaults, see corresponding options).",
|
|
1564
1564
|
"type": [
|
|
1565
1565
|
"null",
|
|
1566
1566
|
"string"
|
|
@@ -1596,7 +1596,7 @@
|
|
|
1596
1596
|
]
|
|
1597
1597
|
}
|
|
1598
1598
|
],
|
|
1599
|
-
"description": "A [glob patterns](
|
|
1599
|
+
"description": "A [glob patterns](./file-patterns.md) relative to the [app directory](#MetadataDirectories-app), which specifies which files to unpack when creating the [asar](http://electron.atom.io/docs/tutorial/application-packaging/) archive."
|
|
1600
1600
|
},
|
|
1601
1601
|
"category": {
|
|
1602
1602
|
"description": "The [application category](https://specifications.freedesktop.org/menu-spec/latest/apa.html#main-category-registry).",
|
|
@@ -1638,7 +1638,7 @@
|
|
|
1638
1638
|
"type": "string"
|
|
1639
1639
|
},
|
|
1640
1640
|
"description": {
|
|
1641
|
-
"description": "As [description](
|
|
1641
|
+
"description": "As [description](./configuration.md#Metadata-description) from application package.json, but allows you to specify different for Linux.",
|
|
1642
1642
|
"type": [
|
|
1643
1643
|
"null",
|
|
1644
1644
|
"string"
|
|
@@ -1654,7 +1654,7 @@
|
|
|
1654
1654
|
},
|
|
1655
1655
|
"disableDefaultIgnoredFiles": {
|
|
1656
1656
|
"default": false,
|
|
1657
|
-
"description": "Whether to exclude all default ignored files(https://www.electron.build/
|
|
1657
|
+
"description": "Whether to exclude all default ignored files(https://www.electron.build/contents#files) and options. Defaults to `false`.",
|
|
1658
1658
|
"type": [
|
|
1659
1659
|
"null",
|
|
1660
1660
|
"boolean"
|
|
@@ -1675,7 +1675,7 @@
|
|
|
1675
1675
|
"description": "The electron locales to keep. By default, all Electron locales used as-is."
|
|
1676
1676
|
},
|
|
1677
1677
|
"electronUpdaterCompatibility": {
|
|
1678
|
-
"description": "The [electron-updater compatibility](
|
|
1678
|
+
"description": "The [electron-updater compatibility](./auto-update.md#compatibility) semver range.",
|
|
1679
1679
|
"type": [
|
|
1680
1680
|
"null",
|
|
1681
1681
|
"string"
|
|
@@ -1726,7 +1726,8 @@
|
|
|
1726
1726
|
"string"
|
|
1727
1727
|
]
|
|
1728
1728
|
}
|
|
1729
|
-
]
|
|
1729
|
+
],
|
|
1730
|
+
"description": "The same as [extraResources](#extraresources) but copy into the app's content directory (`Contents` for MacOS, root directory for Linux and Windows)."
|
|
1730
1731
|
},
|
|
1731
1732
|
"extraResources": {
|
|
1732
1733
|
"anyOf": [
|
|
@@ -1752,7 +1753,8 @@
|
|
|
1752
1753
|
"string"
|
|
1753
1754
|
]
|
|
1754
1755
|
}
|
|
1755
|
-
]
|
|
1756
|
+
],
|
|
1757
|
+
"description": "A [glob patterns](./file-patterns.md) 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)."
|
|
1756
1758
|
},
|
|
1757
1759
|
"fileAssociations": {
|
|
1758
1760
|
"anyOf": [
|
|
@@ -1792,7 +1794,8 @@
|
|
|
1792
1794
|
"string"
|
|
1793
1795
|
]
|
|
1794
1796
|
}
|
|
1795
|
-
]
|
|
1797
|
+
],
|
|
1798
|
+
"description": "A [glob patterns](./file-patterns.md) relative to the [app directory](configuration.md#MetadataDirectories-app), 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](mac.md)).\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](./file-patterns.md#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."
|
|
1796
1799
|
},
|
|
1797
1800
|
"forceCodeSigning": {
|
|
1798
1801
|
"description": "Whether to fail if app will be not code signed.",
|
|
@@ -1804,11 +1807,11 @@
|
|
|
1804
1807
|
"type": "boolean"
|
|
1805
1808
|
},
|
|
1806
1809
|
"icon": {
|
|
1807
|
-
"description": "The path to icon set directory or one png file, relative to the [build resources](
|
|
1810
|
+
"description": "The path to icon set directory or one png file, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) 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.",
|
|
1808
1811
|
"type": "string"
|
|
1809
1812
|
},
|
|
1810
1813
|
"maintainer": {
|
|
1811
|
-
"description": "The maintainer. Defaults to [author](
|
|
1814
|
+
"description": "The maintainer. Defaults to [author](./configuration.md#Metadata-author).",
|
|
1812
1815
|
"type": [
|
|
1813
1816
|
"null",
|
|
1814
1817
|
"string"
|
|
@@ -1926,10 +1929,10 @@
|
|
|
1926
1929
|
}
|
|
1927
1930
|
],
|
|
1928
1931
|
"default": "AppImage",
|
|
1929
|
-
"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](
|
|
1932
|
+
"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](./multi-platform-build.md#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."
|
|
1930
1933
|
},
|
|
1931
1934
|
"vendor": {
|
|
1932
|
-
"description": "The vendor. Defaults to [author](
|
|
1935
|
+
"description": "The vendor. Defaults to [author](./configuration.md#Metadata-author).",
|
|
1933
1936
|
"type": [
|
|
1934
1937
|
"null",
|
|
1935
1938
|
"string"
|
|
@@ -1954,7 +1957,7 @@
|
|
|
1954
1957
|
]
|
|
1955
1958
|
},
|
|
1956
1959
|
"artifactName": {
|
|
1957
|
-
"description": "The [artifact file name template](
|
|
1960
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
1958
1961
|
"type": [
|
|
1959
1962
|
"null",
|
|
1960
1963
|
"string"
|
|
@@ -2000,7 +2003,7 @@
|
|
|
2000
2003
|
"description": "Package dependencies."
|
|
2001
2004
|
},
|
|
2002
2005
|
"description": {
|
|
2003
|
-
"description": "As [description](
|
|
2006
|
+
"description": "As [description](./configuration.md#Metadata-description) from application package.json, but allows you to specify different for Linux.",
|
|
2004
2007
|
"type": [
|
|
2005
2008
|
"null",
|
|
2006
2009
|
"string"
|
|
@@ -2156,7 +2159,7 @@
|
|
|
2156
2159
|
]
|
|
2157
2160
|
},
|
|
2158
2161
|
"artifactName": {
|
|
2159
|
-
"description": "The [artifact file name template](
|
|
2162
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template). Defaults to `${productName}-${version}.${ext}` (some target can have other defaults, see corresponding options).",
|
|
2160
2163
|
"type": [
|
|
2161
2164
|
"null",
|
|
2162
2165
|
"string"
|
|
@@ -2192,7 +2195,7 @@
|
|
|
2192
2195
|
]
|
|
2193
2196
|
}
|
|
2194
2197
|
],
|
|
2195
|
-
"description": "A [glob patterns](
|
|
2198
|
+
"description": "A [glob patterns](./file-patterns.md) relative to the [app directory](#MetadataDirectories-app), which specifies which files to unpack when creating the [asar](http://electron.atom.io/docs/tutorial/application-packaging/) archive."
|
|
2196
2199
|
},
|
|
2197
2200
|
"binaries": {
|
|
2198
2201
|
"anyOf": [
|
|
@@ -2285,7 +2288,7 @@
|
|
|
2285
2288
|
},
|
|
2286
2289
|
"disableDefaultIgnoredFiles": {
|
|
2287
2290
|
"default": false,
|
|
2288
|
-
"description": "Whether to exclude all default ignored files(https://www.electron.build/
|
|
2291
|
+
"description": "Whether to exclude all default ignored files(https://www.electron.build/contents#files) and options. Defaults to `false`.",
|
|
2289
2292
|
"type": [
|
|
2290
2293
|
"null",
|
|
2291
2294
|
"boolean"
|
|
@@ -2306,14 +2309,14 @@
|
|
|
2306
2309
|
"description": "The electron locales to keep. By default, all Electron locales used as-is."
|
|
2307
2310
|
},
|
|
2308
2311
|
"electronUpdaterCompatibility": {
|
|
2309
|
-
"description": "The [electron-updater compatibility](
|
|
2312
|
+
"description": "The [electron-updater compatibility](./auto-update.md#compatibility) semver range.",
|
|
2310
2313
|
"type": [
|
|
2311
2314
|
"null",
|
|
2312
2315
|
"string"
|
|
2313
2316
|
]
|
|
2314
2317
|
},
|
|
2315
2318
|
"entitlements": {
|
|
2316
|
-
"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](
|
|
2319
|
+
"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](./mas.md).\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.",
|
|
2317
2320
|
"type": [
|
|
2318
2321
|
"null",
|
|
2319
2322
|
"string"
|
|
@@ -2384,7 +2387,8 @@
|
|
|
2384
2387
|
"string"
|
|
2385
2388
|
]
|
|
2386
2389
|
}
|
|
2387
|
-
]
|
|
2390
|
+
],
|
|
2391
|
+
"description": "The same as [extraResources](#extraresources) but copy into the app's content directory (`Contents` for MacOS, root directory for Linux and Windows)."
|
|
2388
2392
|
},
|
|
2389
2393
|
"extraResources": {
|
|
2390
2394
|
"anyOf": [
|
|
@@ -2410,7 +2414,8 @@
|
|
|
2410
2414
|
"string"
|
|
2411
2415
|
]
|
|
2412
2416
|
}
|
|
2413
|
-
]
|
|
2417
|
+
],
|
|
2418
|
+
"description": "A [glob patterns](./file-patterns.md) 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)."
|
|
2414
2419
|
},
|
|
2415
2420
|
"fileAssociations": {
|
|
2416
2421
|
"anyOf": [
|
|
@@ -2450,7 +2455,8 @@
|
|
|
2450
2455
|
"string"
|
|
2451
2456
|
]
|
|
2452
2457
|
}
|
|
2453
|
-
]
|
|
2458
|
+
],
|
|
2459
|
+
"description": "A [glob patterns](./file-patterns.md) relative to the [app directory](configuration.md#MetadataDirectories-app), 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](mac.md)).\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](./file-patterns.md#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."
|
|
2454
2460
|
},
|
|
2455
2461
|
"forceCodeSigning": {
|
|
2456
2462
|
"description": "Whether to fail if app will be not code signed.",
|
|
@@ -2528,7 +2534,7 @@
|
|
|
2528
2534
|
]
|
|
2529
2535
|
},
|
|
2530
2536
|
"identity": {
|
|
2531
|
-
"description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](
|
|
2537
|
+
"description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](./code-signing.md) instead of specifying this option.\nMAS installer identity is specified in the [mas](./mas.md).",
|
|
2532
2538
|
"type": [
|
|
2533
2539
|
"null",
|
|
2534
2540
|
"string"
|
|
@@ -2794,7 +2800,7 @@
|
|
|
2794
2800
|
]
|
|
2795
2801
|
},
|
|
2796
2802
|
"artifactName": {
|
|
2797
|
-
"description": "The [artifact file name template](
|
|
2803
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template). Defaults to `${productName}-${version}.${ext}` (some target can have other defaults, see corresponding options).",
|
|
2798
2804
|
"type": [
|
|
2799
2805
|
"null",
|
|
2800
2806
|
"string"
|
|
@@ -2830,7 +2836,7 @@
|
|
|
2830
2836
|
]
|
|
2831
2837
|
}
|
|
2832
2838
|
],
|
|
2833
|
-
"description": "A [glob patterns](
|
|
2839
|
+
"description": "A [glob patterns](./file-patterns.md) relative to the [app directory](#MetadataDirectories-app), which specifies which files to unpack when creating the [asar](http://electron.atom.io/docs/tutorial/application-packaging/) archive."
|
|
2834
2840
|
},
|
|
2835
2841
|
"binaries": {
|
|
2836
2842
|
"anyOf": [
|
|
@@ -2923,7 +2929,7 @@
|
|
|
2923
2929
|
},
|
|
2924
2930
|
"disableDefaultIgnoredFiles": {
|
|
2925
2931
|
"default": false,
|
|
2926
|
-
"description": "Whether to exclude all default ignored files(https://www.electron.build/
|
|
2932
|
+
"description": "Whether to exclude all default ignored files(https://www.electron.build/contents#files) and options. Defaults to `false`.",
|
|
2927
2933
|
"type": [
|
|
2928
2934
|
"null",
|
|
2929
2935
|
"boolean"
|
|
@@ -2944,7 +2950,7 @@
|
|
|
2944
2950
|
"description": "The electron locales to keep. By default, all Electron locales used as-is."
|
|
2945
2951
|
},
|
|
2946
2952
|
"electronUpdaterCompatibility": {
|
|
2947
|
-
"description": "The [electron-updater compatibility](
|
|
2953
|
+
"description": "The [electron-updater compatibility](./auto-update.md#compatibility) semver range.",
|
|
2948
2954
|
"type": [
|
|
2949
2955
|
"null",
|
|
2950
2956
|
"string"
|
|
@@ -3022,7 +3028,8 @@
|
|
|
3022
3028
|
"string"
|
|
3023
3029
|
]
|
|
3024
3030
|
}
|
|
3025
|
-
]
|
|
3031
|
+
],
|
|
3032
|
+
"description": "The same as [extraResources](#extraresources) but copy into the app's content directory (`Contents` for MacOS, root directory for Linux and Windows)."
|
|
3026
3033
|
},
|
|
3027
3034
|
"extraResources": {
|
|
3028
3035
|
"anyOf": [
|
|
@@ -3048,7 +3055,8 @@
|
|
|
3048
3055
|
"string"
|
|
3049
3056
|
]
|
|
3050
3057
|
}
|
|
3051
|
-
]
|
|
3058
|
+
],
|
|
3059
|
+
"description": "A [glob patterns](./file-patterns.md) 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)."
|
|
3052
3060
|
},
|
|
3053
3061
|
"fileAssociations": {
|
|
3054
3062
|
"anyOf": [
|
|
@@ -3088,7 +3096,8 @@
|
|
|
3088
3096
|
"string"
|
|
3089
3097
|
]
|
|
3090
3098
|
}
|
|
3091
|
-
]
|
|
3099
|
+
],
|
|
3100
|
+
"description": "A [glob patterns](./file-patterns.md) relative to the [app directory](configuration.md#MetadataDirectories-app), 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](mac.md)).\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](./file-patterns.md#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."
|
|
3092
3101
|
},
|
|
3093
3102
|
"forceCodeSigning": {
|
|
3094
3103
|
"description": "Whether to fail if app will be not code signed.",
|
|
@@ -3166,7 +3175,7 @@
|
|
|
3166
3175
|
]
|
|
3167
3176
|
},
|
|
3168
3177
|
"identity": {
|
|
3169
|
-
"description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](
|
|
3178
|
+
"description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](./code-signing.md) instead of specifying this option.\nMAS installer identity is specified in the [mas](./mas.md).",
|
|
3170
3179
|
"type": [
|
|
3171
3180
|
"null",
|
|
3172
3181
|
"string"
|
|
@@ -3426,7 +3435,7 @@
|
|
|
3426
3435
|
},
|
|
3427
3436
|
"output": {
|
|
3428
3437
|
"default": "dist",
|
|
3429
|
-
"description": "The output directory. [File macros](
|
|
3438
|
+
"description": "The output directory. [File macros](./file-patterns.md#file-macros) are supported.",
|
|
3430
3439
|
"type": [
|
|
3431
3440
|
"null",
|
|
3432
3441
|
"string"
|
|
@@ -3467,7 +3476,7 @@
|
|
|
3467
3476
|
"description": "Any additional arguments to be passed to the WiX installer compiler, such as `[\"-ext\", \"WixUtilExtension\"]`"
|
|
3468
3477
|
},
|
|
3469
3478
|
"artifactName": {
|
|
3470
|
-
"description": "The [artifact file name template](
|
|
3479
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
3471
3480
|
"type": [
|
|
3472
3481
|
"null",
|
|
3473
3482
|
"string"
|
|
@@ -3590,7 +3599,7 @@
|
|
|
3590
3599
|
"description": "Any additional arguments to be passed to the WiX installer compiler, such as `[\"-ext\", \"WixUtilExtension\"]`"
|
|
3591
3600
|
},
|
|
3592
3601
|
"artifactName": {
|
|
3593
|
-
"description": "The [artifact file name template](
|
|
3602
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
3594
3603
|
"type": [
|
|
3595
3604
|
"null",
|
|
3596
3605
|
"string"
|
|
@@ -3729,7 +3738,7 @@
|
|
|
3729
3738
|
"type": "boolean"
|
|
3730
3739
|
},
|
|
3731
3740
|
"artifactName": {
|
|
3732
|
-
"description": "The [artifact file name template](
|
|
3741
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template). Defaults to `${productName} Setup ${version}.${ext}`.",
|
|
3733
3742
|
"type": [
|
|
3734
3743
|
"null",
|
|
3735
3744
|
"string"
|
|
@@ -3774,7 +3783,7 @@
|
|
|
3774
3783
|
"type": "boolean"
|
|
3775
3784
|
},
|
|
3776
3785
|
"guid": {
|
|
3777
|
-
"description": "See [GUID vs Application Name](
|
|
3786
|
+
"description": "See [GUID vs Application Name](./nsis.md#guid-vs-application-name).",
|
|
3778
3787
|
"type": [
|
|
3779
3788
|
"null",
|
|
3780
3789
|
"string"
|
|
@@ -3789,21 +3798,21 @@
|
|
|
3789
3798
|
},
|
|
3790
3799
|
"installerHeader": {
|
|
3791
3800
|
"default": "build/installerHeader.bmp",
|
|
3792
|
-
"description": "*assisted installer only.* `MUI_HEADERIMAGE`, relative to the [build resources](
|
|
3801
|
+
"description": "*assisted installer only.* `MUI_HEADERIMAGE`, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) or to the project directory.",
|
|
3793
3802
|
"type": [
|
|
3794
3803
|
"null",
|
|
3795
3804
|
"string"
|
|
3796
3805
|
]
|
|
3797
3806
|
},
|
|
3798
3807
|
"installerHeaderIcon": {
|
|
3799
|
-
"description": "*one-click installer only.* The path to header icon (above the progress bar), relative to the [build resources](
|
|
3808
|
+
"description": "*one-click installer only.* The path to header icon (above the progress bar), relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) or to the project directory.\nDefaults to `build/installerHeaderIcon.ico` or application icon.",
|
|
3800
3809
|
"type": [
|
|
3801
3810
|
"null",
|
|
3802
3811
|
"string"
|
|
3803
3812
|
]
|
|
3804
3813
|
},
|
|
3805
3814
|
"installerIcon": {
|
|
3806
|
-
"description": "The path to installer icon, relative to the [build resources](
|
|
3815
|
+
"description": "The path to installer icon, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) or to the project directory.\nDefaults to `build/installerIcon.ico` or application icon.",
|
|
3807
3816
|
"type": [
|
|
3808
3817
|
"null",
|
|
3809
3818
|
"string"
|
|
@@ -3827,7 +3836,7 @@
|
|
|
3827
3836
|
"description": "The installer languages (e.g. `en_US`, `de_DE`). Change only if you understand what do you do and for what."
|
|
3828
3837
|
},
|
|
3829
3838
|
"installerSidebar": {
|
|
3830
|
-
"description": "*assisted installer only.* `MUI_WELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](
|
|
3839
|
+
"description": "*assisted installer only.* `MUI_WELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) or to the project directory.\nDefaults to `build/installerSidebar.bmp` or `${NSISDIR}\\\\Contrib\\\\Graphics\\\\Wizard\\\\nsis3-metro.bmp`. Image size 164 × 314 pixels.",
|
|
3831
3840
|
"type": [
|
|
3832
3841
|
"null",
|
|
3833
3842
|
"string"
|
|
@@ -3982,14 +3991,14 @@
|
|
|
3982
3991
|
"type": "string"
|
|
3983
3992
|
},
|
|
3984
3993
|
"uninstallerIcon": {
|
|
3985
|
-
"description": "The path to uninstaller icon, relative to the [build resources](
|
|
3994
|
+
"description": "The path to uninstaller icon, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) or to the project directory.\nDefaults to `build/uninstallerIcon.ico` or application icon.",
|
|
3986
3995
|
"type": [
|
|
3987
3996
|
"null",
|
|
3988
3997
|
"string"
|
|
3989
3998
|
]
|
|
3990
3999
|
},
|
|
3991
4000
|
"uninstallerSidebar": {
|
|
3992
|
-
"description": "*assisted installer only.* `MUI_UNWELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](
|
|
4001
|
+
"description": "*assisted installer only.* `MUI_UNWELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) 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`",
|
|
3993
4002
|
"type": [
|
|
3994
4003
|
"null",
|
|
3995
4004
|
"string"
|
|
@@ -4029,7 +4038,7 @@
|
|
|
4029
4038
|
]
|
|
4030
4039
|
},
|
|
4031
4040
|
"artifactName": {
|
|
4032
|
-
"description": "The [artifact file name template](
|
|
4041
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template). Defaults to `${productName} Web Setup ${version}.${ext}`.",
|
|
4033
4042
|
"type": [
|
|
4034
4043
|
"null",
|
|
4035
4044
|
"string"
|
|
@@ -4074,7 +4083,7 @@
|
|
|
4074
4083
|
"type": "boolean"
|
|
4075
4084
|
},
|
|
4076
4085
|
"guid": {
|
|
4077
|
-
"description": "See [GUID vs Application Name](
|
|
4086
|
+
"description": "See [GUID vs Application Name](./nsis.md#guid-vs-application-name).",
|
|
4078
4087
|
"type": [
|
|
4079
4088
|
"null",
|
|
4080
4089
|
"string"
|
|
@@ -4089,21 +4098,21 @@
|
|
|
4089
4098
|
},
|
|
4090
4099
|
"installerHeader": {
|
|
4091
4100
|
"default": "build/installerHeader.bmp",
|
|
4092
|
-
"description": "*assisted installer only.* `MUI_HEADERIMAGE`, relative to the [build resources](
|
|
4101
|
+
"description": "*assisted installer only.* `MUI_HEADERIMAGE`, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) or to the project directory.",
|
|
4093
4102
|
"type": [
|
|
4094
4103
|
"null",
|
|
4095
4104
|
"string"
|
|
4096
4105
|
]
|
|
4097
4106
|
},
|
|
4098
4107
|
"installerHeaderIcon": {
|
|
4099
|
-
"description": "*one-click installer only.* The path to header icon (above the progress bar), relative to the [build resources](
|
|
4108
|
+
"description": "*one-click installer only.* The path to header icon (above the progress bar), relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) or to the project directory.\nDefaults to `build/installerHeaderIcon.ico` or application icon.",
|
|
4100
4109
|
"type": [
|
|
4101
4110
|
"null",
|
|
4102
4111
|
"string"
|
|
4103
4112
|
]
|
|
4104
4113
|
},
|
|
4105
4114
|
"installerIcon": {
|
|
4106
|
-
"description": "The path to installer icon, relative to the [build resources](
|
|
4115
|
+
"description": "The path to installer icon, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) or to the project directory.\nDefaults to `build/installerIcon.ico` or application icon.",
|
|
4107
4116
|
"type": [
|
|
4108
4117
|
"null",
|
|
4109
4118
|
"string"
|
|
@@ -4127,7 +4136,7 @@
|
|
|
4127
4136
|
"description": "The installer languages (e.g. `en_US`, `de_DE`). Change only if you understand what do you do and for what."
|
|
4128
4137
|
},
|
|
4129
4138
|
"installerSidebar": {
|
|
4130
|
-
"description": "*assisted installer only.* `MUI_WELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](
|
|
4139
|
+
"description": "*assisted installer only.* `MUI_WELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) or to the project directory.\nDefaults to `build/installerSidebar.bmp` or `${NSISDIR}\\\\Contrib\\\\Graphics\\\\Wizard\\\\nsis3-metro.bmp`. Image size 164 × 314 pixels.",
|
|
4131
4140
|
"type": [
|
|
4132
4141
|
"null",
|
|
4133
4142
|
"string"
|
|
@@ -4282,14 +4291,14 @@
|
|
|
4282
4291
|
"type": "string"
|
|
4283
4292
|
},
|
|
4284
4293
|
"uninstallerIcon": {
|
|
4285
|
-
"description": "The path to uninstaller icon, relative to the [build resources](
|
|
4294
|
+
"description": "The path to uninstaller icon, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) or to the project directory.\nDefaults to `build/uninstallerIcon.ico` or application icon.",
|
|
4286
4295
|
"type": [
|
|
4287
4296
|
"null",
|
|
4288
4297
|
"string"
|
|
4289
4298
|
]
|
|
4290
4299
|
},
|
|
4291
4300
|
"uninstallerSidebar": {
|
|
4292
|
-
"description": "*assisted installer only.* `MUI_UNWELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](
|
|
4301
|
+
"description": "*assisted installer only.* `MUI_UNWELCOMEFINISHPAGE_BITMAP`, relative to the [build resources](./configuration.md#MetadataDirectories-buildResources) 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`",
|
|
4293
4302
|
"type": [
|
|
4294
4303
|
"null",
|
|
4295
4304
|
"string"
|
|
@@ -4798,7 +4807,7 @@
|
|
|
4798
4807
|
]
|
|
4799
4808
|
},
|
|
4800
4809
|
"artifactName": {
|
|
4801
|
-
"description": "The [artifact file name template](
|
|
4810
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
4802
4811
|
"type": [
|
|
4803
4812
|
"null",
|
|
4804
4813
|
"string"
|
|
@@ -4831,7 +4840,7 @@
|
|
|
4831
4840
|
]
|
|
4832
4841
|
},
|
|
4833
4842
|
"identity": {
|
|
4834
|
-
"description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](
|
|
4843
|
+
"description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](./code-signing.md) instead of specifying this option.",
|
|
4835
4844
|
"type": [
|
|
4836
4845
|
"null",
|
|
4837
4846
|
"string"
|
|
@@ -4988,7 +4997,7 @@
|
|
|
4988
4997
|
"description": "Portable options.",
|
|
4989
4998
|
"properties": {
|
|
4990
4999
|
"artifactName": {
|
|
4991
|
-
"description": "The [artifact file name template](
|
|
5000
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
4992
5001
|
"type": [
|
|
4993
5002
|
"null",
|
|
4994
5003
|
"string"
|
|
@@ -5006,7 +5015,7 @@
|
|
|
5006
5015
|
"description": "Allows you to provide your own `makensis`, such as one with support for debug logging via LogSet and LogText. (Logging also requires option `debugLogging = true`)"
|
|
5007
5016
|
},
|
|
5008
5017
|
"guid": {
|
|
5009
|
-
"description": "See [GUID vs Application Name](
|
|
5018
|
+
"description": "See [GUID vs Application Name](./nsis.md#guid-vs-application-name).",
|
|
5010
5019
|
"type": [
|
|
5011
5020
|
"null",
|
|
5012
5021
|
"string"
|
|
@@ -5358,7 +5367,7 @@
|
|
|
5358
5367
|
"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)."
|
|
5359
5368
|
},
|
|
5360
5369
|
"artifactName": {
|
|
5361
|
-
"description": "The [artifact file name template](
|
|
5370
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
5362
5371
|
"type": [
|
|
5363
5372
|
"null",
|
|
5364
5373
|
"string"
|
|
@@ -5447,7 +5456,7 @@
|
|
|
5447
5456
|
"description": "The type of [confinement](https://snapcraft.io/docs/reference/confinement) supported by the snap."
|
|
5448
5457
|
},
|
|
5449
5458
|
"description": {
|
|
5450
|
-
"description": "As [description](
|
|
5459
|
+
"description": "As [description](./configuration.md#Metadata-description) from application package.json, but allows you to specify different for Linux.",
|
|
5451
5460
|
"type": [
|
|
5452
5461
|
"null",
|
|
5453
5462
|
"string"
|
|
@@ -5636,7 +5645,7 @@
|
|
|
5636
5645
|
"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."
|
|
5637
5646
|
},
|
|
5638
5647
|
"summary": {
|
|
5639
|
-
"description": "The 78 character long summary. Defaults to [productName](
|
|
5648
|
+
"description": "The 78 character long summary. Defaults to [productName](./configuration.md#Configuration-productName).",
|
|
5640
5649
|
"type": [
|
|
5641
5650
|
"null",
|
|
5642
5651
|
"string"
|
|
@@ -5835,7 +5844,7 @@
|
|
|
5835
5844
|
"additionalProperties": false,
|
|
5836
5845
|
"properties": {
|
|
5837
5846
|
"artifactName": {
|
|
5838
|
-
"description": "The [artifact file name template](
|
|
5847
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template).",
|
|
5839
5848
|
"type": [
|
|
5840
5849
|
"null",
|
|
5841
5850
|
"string"
|
|
@@ -5998,7 +6007,7 @@
|
|
|
5998
6007
|
]
|
|
5999
6008
|
},
|
|
6000
6009
|
"artifactName": {
|
|
6001
|
-
"description": "The [artifact file name template](
|
|
6010
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template). Defaults to `${productName}-${version}.${ext}` (some target can have other defaults, see corresponding options).",
|
|
6002
6011
|
"type": [
|
|
6003
6012
|
"null",
|
|
6004
6013
|
"string"
|
|
@@ -6034,7 +6043,7 @@
|
|
|
6034
6043
|
]
|
|
6035
6044
|
}
|
|
6036
6045
|
],
|
|
6037
|
-
"description": "A [glob patterns](
|
|
6046
|
+
"description": "A [glob patterns](./file-patterns.md) relative to the [app directory](#MetadataDirectories-app), which specifies which files to unpack when creating the [asar](http://electron.atom.io/docs/tutorial/application-packaging/) archive."
|
|
6038
6047
|
},
|
|
6039
6048
|
"azureSignOptions": {
|
|
6040
6049
|
"anyOf": [
|
|
@@ -6048,14 +6057,14 @@
|
|
|
6048
6057
|
"description": "Options for usage of Azure Trusted Signing (beta)"
|
|
6049
6058
|
},
|
|
6050
6059
|
"certificateFile": {
|
|
6051
|
-
"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](
|
|
6060
|
+
"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](./code-signing.md).",
|
|
6052
6061
|
"type": [
|
|
6053
6062
|
"null",
|
|
6054
6063
|
"string"
|
|
6055
6064
|
]
|
|
6056
6065
|
},
|
|
6057
6066
|
"certificatePassword": {
|
|
6058
|
-
"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](
|
|
6067
|
+
"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](./code-signing.md).",
|
|
6059
6068
|
"type": [
|
|
6060
6069
|
"null",
|
|
6061
6070
|
"string"
|
|
@@ -6114,7 +6123,7 @@
|
|
|
6114
6123
|
},
|
|
6115
6124
|
"disableDefaultIgnoredFiles": {
|
|
6116
6125
|
"default": false,
|
|
6117
|
-
"description": "Whether to exclude all default ignored files(https://www.electron.build/
|
|
6126
|
+
"description": "Whether to exclude all default ignored files(https://www.electron.build/contents#files) and options. Defaults to `false`.",
|
|
6118
6127
|
"type": [
|
|
6119
6128
|
"null",
|
|
6120
6129
|
"boolean"
|
|
@@ -6135,7 +6144,7 @@
|
|
|
6135
6144
|
"description": "The electron locales to keep. By default, all Electron locales used as-is."
|
|
6136
6145
|
},
|
|
6137
6146
|
"electronUpdaterCompatibility": {
|
|
6138
|
-
"description": "The [electron-updater compatibility](
|
|
6147
|
+
"description": "The [electron-updater compatibility](./auto-update.md#compatibility) semver range.",
|
|
6139
6148
|
"type": [
|
|
6140
6149
|
"null",
|
|
6141
6150
|
"string"
|
|
@@ -6172,7 +6181,8 @@
|
|
|
6172
6181
|
"string"
|
|
6173
6182
|
]
|
|
6174
6183
|
}
|
|
6175
|
-
]
|
|
6184
|
+
],
|
|
6185
|
+
"description": "The same as [extraResources](#extraresources) but copy into the app's content directory (`Contents` for MacOS, root directory for Linux and Windows)."
|
|
6176
6186
|
},
|
|
6177
6187
|
"extraResources": {
|
|
6178
6188
|
"anyOf": [
|
|
@@ -6198,7 +6208,8 @@
|
|
|
6198
6208
|
"string"
|
|
6199
6209
|
]
|
|
6200
6210
|
}
|
|
6201
|
-
]
|
|
6211
|
+
],
|
|
6212
|
+
"description": "A [glob patterns](./file-patterns.md) 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)."
|
|
6202
6213
|
},
|
|
6203
6214
|
"fileAssociations": {
|
|
6204
6215
|
"anyOf": [
|
|
@@ -6238,7 +6249,8 @@
|
|
|
6238
6249
|
"string"
|
|
6239
6250
|
]
|
|
6240
6251
|
}
|
|
6241
|
-
]
|
|
6252
|
+
],
|
|
6253
|
+
"description": "A [glob patterns](./file-patterns.md) relative to the [app directory](configuration.md#MetadataDirectories-app), 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](mac.md)).\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](./file-patterns.md#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."
|
|
6242
6254
|
},
|
|
6243
6255
|
"forceCodeSigning": {
|
|
6244
6256
|
"description": "Whether to fail if app will be not code signed.",
|
|
@@ -6458,7 +6470,7 @@
|
|
|
6458
6470
|
}
|
|
6459
6471
|
],
|
|
6460
6472
|
"default": "nsis",
|
|
6461
|
-
"description": "The target package type: list of `nsis`, `nsis-web` (Web installer), `portable` ([portable]
|
|
6473
|
+
"description": "The target package type: list of `nsis`, `nsis-web` (Web installer), `portable` ([portable]./nsis.md#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."
|
|
6462
6474
|
},
|
|
6463
6475
|
"timeStampServer": {
|
|
6464
6476
|
"default": "http://timestamp.digicert.com",
|
|
@@ -6487,14 +6499,14 @@
|
|
|
6487
6499
|
]
|
|
6488
6500
|
},
|
|
6489
6501
|
"certificateFile": {
|
|
6490
|
-
"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](
|
|
6502
|
+
"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](./code-signing.md).",
|
|
6491
6503
|
"type": [
|
|
6492
6504
|
"null",
|
|
6493
6505
|
"string"
|
|
6494
6506
|
]
|
|
6495
6507
|
},
|
|
6496
6508
|
"certificatePassword": {
|
|
6497
|
-
"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](
|
|
6509
|
+
"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](./code-signing.md).",
|
|
6498
6510
|
"type": [
|
|
6499
6511
|
"null",
|
|
6500
6512
|
"string"
|
|
@@ -6724,7 +6736,7 @@
|
|
|
6724
6736
|
"description": "The function (or path to file or module id) to be run on artifact build start."
|
|
6725
6737
|
},
|
|
6726
6738
|
"artifactName": {
|
|
6727
|
-
"description": "The [artifact file name template](
|
|
6739
|
+
"description": "The [artifact file name template](./configuration.md#artifact-file-name-template). Defaults to `${productName}-${version}.${ext}` (some target can have other defaults, see corresponding options).",
|
|
6728
6740
|
"type": [
|
|
6729
6741
|
"null",
|
|
6730
6742
|
"string"
|
|
@@ -6760,7 +6772,7 @@
|
|
|
6760
6772
|
]
|
|
6761
6773
|
}
|
|
6762
6774
|
],
|
|
6763
|
-
"description": "A [glob patterns](
|
|
6775
|
+
"description": "A [glob patterns](./file-patterns.md) relative to the [app directory](#MetadataDirectories-app), which specifies which files to unpack when creating the [asar](http://electron.atom.io/docs/tutorial/application-packaging/) archive."
|
|
6764
6776
|
},
|
|
6765
6777
|
"beforeBuild": {
|
|
6766
6778
|
"anyOf": [
|
|
@@ -6877,7 +6889,7 @@
|
|
|
6877
6889
|
},
|
|
6878
6890
|
"disableDefaultIgnoredFiles": {
|
|
6879
6891
|
"default": false,
|
|
6880
|
-
"description": "Whether to exclude all default ignored files(https://www.electron.build/
|
|
6892
|
+
"description": "Whether to exclude all default ignored files(https://www.electron.build/contents#files) and options. Defaults to `false`.",
|
|
6881
6893
|
"type": [
|
|
6882
6894
|
"null",
|
|
6883
6895
|
"boolean"
|
|
@@ -6941,7 +6953,7 @@
|
|
|
6941
6953
|
"description": "The electron locales to keep. By default, all Electron locales used as-is."
|
|
6942
6954
|
},
|
|
6943
6955
|
"electronUpdaterCompatibility": {
|
|
6944
|
-
"description": "The [electron-updater compatibility](
|
|
6956
|
+
"description": "The [electron-updater compatibility](./auto-update.md#compatibility) semver range.",
|
|
6945
6957
|
"type": [
|
|
6946
6958
|
"null",
|
|
6947
6959
|
"string"
|
|
@@ -7002,7 +7014,8 @@
|
|
|
7002
7014
|
"string"
|
|
7003
7015
|
]
|
|
7004
7016
|
}
|
|
7005
|
-
]
|
|
7017
|
+
],
|
|
7018
|
+
"description": "The same as [extraResources](#extraresources) but copy into the app's content directory (`Contents` for MacOS, root directory for Linux and Windows)."
|
|
7006
7019
|
},
|
|
7007
7020
|
"extraMetadata": {
|
|
7008
7021
|
"description": "Inject properties to `package.json`."
|
|
@@ -7031,7 +7044,8 @@
|
|
|
7031
7044
|
"string"
|
|
7032
7045
|
]
|
|
7033
7046
|
}
|
|
7034
|
-
]
|
|
7047
|
+
],
|
|
7048
|
+
"description": "A [glob patterns](./file-patterns.md) 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)."
|
|
7035
7049
|
},
|
|
7036
7050
|
"fileAssociations": {
|
|
7037
7051
|
"anyOf": [
|
|
@@ -7071,7 +7085,8 @@
|
|
|
7071
7085
|
"string"
|
|
7072
7086
|
]
|
|
7073
7087
|
}
|
|
7074
|
-
]
|
|
7088
|
+
],
|
|
7089
|
+
"description": "A [glob patterns](./file-patterns.md) relative to the [app directory](configuration.md#MetadataDirectories-app), 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](mac.md)).\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](./file-patterns.md#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."
|
|
7075
7090
|
},
|
|
7076
7091
|
"flatpak": {
|
|
7077
7092
|
"anyOf": [
|