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
| <aclass="anchor"id="user-content-AppMetadata-name"href="#AppMetadata-name"aria-hidden="true"></a>name | The application name.
39
-
| <aclass="anchor"id="user-content-AppMetadata-productName"href="#AppMetadata-productName"aria-hidden="true"></a>productName | <p>As [name](#AppMetadata-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}).</p>
| <aname="#AppMetadata-name"></a>name | The application name.
40
+
| <aname="#AppMetadata-productName"></a>productName | <p>As [name](#AppMetadata-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}).</p>
41
+
42
+
<aname="#DevMetadata"></a>
41
43
# Development `package.json`
42
44
| Name | Description
43
45
| --- | ---
44
-
| <aclass="anchor"id="user-content-DevMetadata-homepage"href="#DevMetadata-homepage"aria-hidden="true"></a>homepage | The url to the project homepage (NuGet Package `projectUrl` or Linux Package URL).
45
-
| <aclass="anchor"id="user-content-DevMetadata-build"href="#DevMetadata-build"aria-hidden="true"></a>build | See [BuildMetadata](#BuildMetadata).
| <aname="#DevMetadata-homepage"></a>homepage | <p>The url to the project [homepage](https://docs.npmjs.com/files/package.json#homepage) (NuGet Package <code>projectUrl</code> (optional) or Linux Package URL (required)).</p> <p>If not specified and your project repository is public on GitHub, it will be <code>https://github.com/${user}/${project}</code> by default.</p>
47
+
| <aname="#DevMetadata-license"></a>license | *linux-only.* The [license](https://docs.npmjs.com/files/package.json#license) name for this package.
48
+
| <aname="#DevMetadata-build"></a>build | See [.build](#BuildMetadata).
49
+
50
+
<aname="#BuildMetadata"></a>
47
51
## `.build`
48
52
| Name | Description
49
53
| --- | ---
50
-
| <aclass="anchor"id="user-content-BuildMetadata-iconUrl"href="#BuildMetadata-iconUrl"aria-hidden="true"></a>iconUrl | <p>*windows-only.* A URL to an ICO file to use as the application icon (displayed in Control Panel > Programs and Features). Defaults to the Atom icon.</p> <p>Please note — [local icon file url is not accepted](https://github.com/atom/grunt-electron-installer/issues/73), must be https/http.</p> <ul> <li>If you don’t plan to build windows installer, you can omit it.</li> <li>If your project repository is public on GitHub, it will be <code>https://raw.githubusercontent.com/${info.user}/${info.project}/master/build/icon.ico</code> by default.</li> </ul>
51
-
| <aclass="anchor"id="user-content-BuildMetadata-productName"href="#BuildMetadata-productName"aria-hidden="true"></a>productName | See [AppMetadata.productName](#AppMetadata-productName).
52
-
| <aclass="anchor"id="user-content-BuildMetadata-extraResources"href="#BuildMetadata-extraResources"aria-hidden="true"></a>extraResources | <p>A [glob expression](https://www.npmjs.com/package/glob#glob-primer), when specified, copy the file or directory with matching names directly into the app’s directory (<code>Contents/Resources</code> for OS X).</p> <p>You can use <code>${os}</code> (expanded to osx, linux or win according to current platform) and <code>${arch}</code> in the pattern.</p> <p>If directory matched, all contents are copied. So, you can just specify <code>foo</code> to copy <code><project_dir>/foo</code> directory.</p> <p>May be specified in the platform options (i.e. in the <code>build.osx</code>).</p>
53
-
| <aclass="anchor"id="user-content-BuildMetadata-osx"href="#BuildMetadata-osx"aria-hidden="true"></a>osx | See [OS X options](https://www.npmjs.com/package/appdmg#json-specification)
54
-
| <aclass="anchor"id="user-content-BuildMetadata-win"href="#BuildMetadata-win"aria-hidden="true"></a>win | See [windows-installer options](https://github.com/electronjs/windows-installer#usage)
54
+
| <aname="#BuildMetadata-iconUrl"></a>iconUrl | <p>*windows-only.* A URL to an ICO file to use as the application icon (displayed in Control Panel > Programs and Features). Defaults to the Atom icon.</p> <p>Please note — [local icon file url is not accepted](https://github.com/atom/grunt-electron-installer/issues/73), must be https/http.</p> <ul> <li>If you don’t plan to build windows installer, you can omit it.</li> <li>If your project repository is public on GitHub, it will be <code>https://raw.githubusercontent.com/${user}/${project}/master/build/icon.ico</code> by default.</li> </ul>
55
+
| <aname="#BuildMetadata-productName"></a>productName | See [AppMetadata.productName](#AppMetadata-productName).
56
+
| <aname="#BuildMetadata-extraResources"></a>extraResources | <p>A [glob expression](https://www.npmjs.com/package/glob#glob-primer), when specified, copy the file or directory with matching names directly into the app’s directory (<code>Contents/Resources</code> for OS X).</p> <p>You can use <code>${os}</code> (expanded to osx, linux or win according to current platform) and <code>${arch}</code> in the pattern.</p> <p>If directory matched, all contents are copied. So, you can just specify <code>foo</code> to copy <code><project_dir>/foo</code> directory.</p> <p>May be specified in the platform options (i.e. in the <code>build.osx</code>).</p>
57
+
| <aname="#BuildMetadata-osx"></a>osx | See [OS X options](https://www.npmjs.com/package/appdmg#json-specification)
58
+
| <aname="#BuildMetadata-win"></a>win | See [windows-installer options](https://github.com/electronjs/windows-installer#usage)
59
+
| <aname="#BuildMetadata-linux"></a>linux | See [.linux](#DebOptions).
60
+
61
+
<aname="#DebOptions"></a>
62
+
### `.build.linux`
63
+
| Name | Description
64
+
| --- | ---
65
+
| <aname="#DebOptions-compression"></a>compression | *deb-only.* The compression type to use, must be one of gz, bzip2, xz. (default: `xz`)
The url to the project homepage (NuGet Package `projectUrl` or Linux Package URL).
32
+
The url to the project [homepage](https://docs.npmjs.com/files/package.json#homepage) (NuGet Package `projectUrl` (optional) or Linux Package URL (required)).
33
+
34
+
If not specified and your project repository is public on GitHub, it will be `https://github.com/${user}/${project}` by default.
33
35
*/
34
36
readonlyhomepage?: string
35
37
36
38
/**
37
-
See [BuildMetadata](#BuildMetadata).
39
+
*linux-only.* The [license](https://docs.npmjs.com/files/package.json#license) name for this package.
Please note — [local icon file url is not accepted](https://github.com/atom/grunt-electron-installer/issues/73), must be https/http.
68
75
69
76
* If you don't plan to build windows installer, you can omit it.
70
-
* If your project repository is public on GitHub, it will be `https://raw.githubusercontent.com/${info.user}/${info.project}/master/build/icon.ico` by default.
77
+
* If your project repository is public on GitHub, it will be `https://raw.githubusercontent.com/${user}/${project}/master/build/icon.ico` by default.
0 commit comments