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: docs/Options.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,7 +194,7 @@ See [NSIS target notes](https://github.com/electron-userland/electron-builder/wi
194
194
### `pkg` macOS Product Archive Options
195
195
| Name | Description
196
196
| --- | ---
197
-
| scripts | <aname="PkgOptions-scripts"></a><p>The scripts directory, relative to <code>build</code> (build resources directory). Defaults to <code>build/pkg-scripts</code>. [Scripting in installer packages](http://macinstallers.blogspot.de/2012/07/scripting-in-installer-packages.html) The scripts can be in any language so long as the files are marked executable and have the appropriate shebang indicating the path to the interpreter.</p> <p>Scripts are required to be executable (<code>chmod +x file</code>). It is not checked and corrected by electron-builder.</p>
197
+
| scripts | <aname="PkgOptions-scripts"></a><p>The scripts directory, relative to <code>build</code> (build resources directory). Defaults to <code>build/pkg-scripts</code>. See [Scripting in installer packages](http://macinstallers.blogspot.de/2012/07/scripting-in-installer-packages.html). The scripts can be in any language so long as the files are marked executable and have the appropriate shebang indicating the path to the interpreter.</p> <p>Scripts are required to be executable (<code>chmod +x file</code>).</p>
198
198
| installLocation | <aname="PkgOptions-installLocation"></a>The install location. Defaults to `/Applications`.
199
199
200
200
<aname="Protocol"></a>
@@ -246,7 +246,8 @@ To use Squirrel.Windows please install `electron-builder-squirrel-windows` depen
246
246
| summary | <aname="SnapOptions-summary"></a>The 78 character long summary. Defaults to [productName](#AppMetadata-productName).
247
247
| grade | <aname="SnapOptions-grade"></a><p>The quality grade of the snap. It can be either <code>devel</code> (i.e. a development version of the snap, so not to be published to the “stable” or “candidate” channels) or “stable” (i.e. a stable release or release candidate, which can be released to all channels). Defaults to <code>stable</code>.</p>
248
248
| assumes | <aname="SnapOptions-assumes"></a>The list of features that must be supported by the core in order for this snap to install.
249
-
| stagePackages | <aname="SnapOptions-stagePackages"></a><p>The list of Ubuntu packages to use that are needed to support the <code>app</code> part creation. Like <code>depends</code> for <code>deb</code>. Defaults to <code>["libnotify4", "libappindicator1", "libxtst6", "libnss3", "libxss1", "fontconfig-config", "gconf2", "libasound2"]</code>.</p>
249
+
| stagePackages | <aname="SnapOptions-stagePackages"></a><p>The list of Ubuntu packages to use that are needed to support the <code>app</code> part creation. Like <code>depends</code> for <code>deb</code>. Defaults to <code>["libnotify4", "libappindicator1", "libxtst6", "libnss3", "libxss1", "fontconfig-config", "gconf2", "libasound2", "pulseaudio"]</code>.</p> <p>If list contains <code>default</code>, it will be replaced to default list, so, <code>["default", "foo"]</code> can be used to add custom package <code>foo</code> in addition to defaults.</p>
250
+
| plugs | <aname="SnapOptions-plugs"></a><p>The list of [plugs](https://snapcraft.io/docs/reference/interfaces). Defaults to <code>["home", "x11", "unity7", "browser-support", "network", "gsettings", "pulseaudio", "opengl"]</code>.</p> <p>If list contains <code>default</code>, it will be replaced to default list, so, <code>["default", "foo"]</code> can be used to add custom plug <code>foo</code> in addition to defaults.</p>
250
251
| ubuntuAppPlatformContent | <aname="SnapOptions-ubuntuAppPlatformContent"></a><p>Specify <code>ubuntu-app-platform1</code> to use [ubuntu-app-platform](https://insights.ubuntu.com/2016/11/17/how-to-create-snap-packages-on-qt-applications/). Snap size will be greatly reduced, but it is not recommended for now because “the snaps must be connected before running uitk-gallery for the first time”.</p>
The type of confinement supported by the snap. Can be either `devmode` (i.e. this snap doesn’t support running under confinement) or `strict` (i.e. full confinement supported via interfaces). Defaults to `strict`.
95
95
*/
96
-
confinement?: "devmode"|"strict"|null
96
+
readonlyconfinement?: "devmode"|"strict"|null
97
97
98
98
/*
99
99
The 78 character long summary. Defaults to [productName](#AppMetadata-productName).
100
100
*/
101
-
summary?: string|null
101
+
readonlysummary?: string|null
102
102
103
103
/*
104
104
The quality grade of the snap. It can be either `devel` (i.e. a development version of the snap, so not to be published to the “stable” or “candidate” channels) or “stable” (i.e. a stable release or release candidate, which can be released to all channels).
105
105
Defaults to `stable`.
106
106
*/
107
-
grade?: "devel"|"stable"|null
107
+
readonlygrade?: "devel"|"stable"|null
108
108
109
109
/*
110
110
The list of features that must be supported by the core in order for this snap to install.
111
111
*/
112
-
assumes?: Array<string>|null
112
+
readonlyassumes?: Array<string>|null
113
113
114
114
/*
115
115
The list of Ubuntu packages to use that are needed to support the `app` part creation. Like `depends` for `deb`.
116
-
Defaults to `["libnotify4", "libappindicator1", "libxtst6", "libnss3", "libxss1", "fontconfig-config", "gconf2", "libasound2"]`.
If 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.
119
+
*/
120
+
readonlystagePackages?: Array<string>|null
121
+
122
+
/*
123
+
The list of [plugs](https://snapcraft.io/docs/reference/interfaces).
124
+
Defaults to `["home", "x11", "unity7", "browser-support", "network", "gsettings", "pulseaudio", "opengl"]`.
125
+
126
+
If list contains `default`, it will be replaced to default list, so, `["default", "foo"]` can be used to add custom plug `foo` in addition to defaults.
117
127
*/
118
-
stagePackages?: Array<string>|null
128
+
readonlyplugs?: Array<string>|null
119
129
120
130
/*
121
131
Specify `ubuntu-app-platform1` to use [ubuntu-app-platform](https://insights.ubuntu.com/2016/11/17/how-to-create-snap-packages-on-qt-applications/).
122
132
Snap size will be greatly reduced, but it is not recommended for now because "the snaps must be connected before running uitk-gallery for the first time".
The scripts directory, relative to `build` (build resources directory). Defaults to `build/pkg-scripts`. [Scripting in installer packages](http://macinstallers.blogspot.de/2012/07/scripting-in-installer-packages.html)
69
+
The scripts directory, relative to `build` (build resources directory). Defaults to `build/pkg-scripts`.
70
+
See [Scripting in installer packages](http://macinstallers.blogspot.de/2012/07/scripting-in-installer-packages.html).
70
71
The scripts can be in any language so long as the files are marked executable and have the appropriate shebang indicating the path to the interpreter.
71
72
72
-
Scripts are required to be executable (`chmod +x file`). It is not checked and corrected by electron-builder.
73
+
Scripts are required to be executable (`chmod +x file`).
0 commit comments