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
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@ In the development `package.json` custom `build` field can be specified to custo
4
4
```json
5
5
"build": {
6
6
"osx": {
7
-
"title": "computed name from the app package.js, you can overwrite",
8
7
"icon": "build/icon.icns",
9
8
"icon-size": 80,
10
9
"background": "build/background.png",
@@ -22,16 +21,13 @@ In the development `package.json` custom `build` field can be specified to custo
22
21
"path": "computed path to artifact, do not specify it - will be overwritten"
23
22
}
24
23
]
25
-
},
26
-
"win": "see https://github.com/electronjs/windows-installer#usage"
24
+
}
27
25
}
28
26
```
29
27
30
28
As you can see, you need to customize OS X options only if you want to provide custom `x, y`.
31
29
Don't customize paths to background and icon, — just follow conventions (if you don't want to use `build` as directory of resources — please create issue to ask ability to customize it).
32
30
33
-
See [OS X options](https://www.npmjs.com/package/appdmg#json-specification) and [Windows options](https://github.com/electronjs/windows-installer#usage).
34
-
35
31
Here documented only `electron-builder` specific options:
36
32
37
33
<!-- do not edit. start of generated block -->
@@ -45,6 +41,7 @@ Here documented only `electron-builder` specific options:
45
41
# Development `package.json`
46
42
| Name | Description
47
43
| --- | ---
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).
48
45
| <aclass="anchor"id="user-content-DevMetadata-build"href="#DevMetadata-build"aria-hidden="true"></a>build | See [BuildMetadata](#BuildMetadata).
@@ -53,5 +50,7 @@ Here documented only `electron-builder` specific options:
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>
54
51
| <aclass="anchor"id="user-content-BuildMetadata-productName"href="#BuildMetadata-productName"aria-hidden="true"></a>productName | See [AppMetadata.productName](#AppMetadata-productName).
55
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)
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 (`Contents/Resources` for OS X).
0 commit comments