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: README.md
+34-17Lines changed: 34 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,11 +67,11 @@ For a production app you need to sign your application, see [Where to buy code s
67
67
```json
68
68
"scripts": {
69
69
"postinstall": "install-app-deps",
70
-
"pack": "build --target dir",
70
+
"pack": "build --dir",
71
71
"dist": "build"
72
72
}
73
73
```
74
-
And then you can run `npm run dist` (to package in a distributable format (e.g. dmg, windows installer, deb package)) or `npm run pack`.
74
+
And then you can run `npm run dist` (to package in a distributable format (e.g. dmg, windows installer, deb package)) or `npm run pack` (useful to test).
75
75
76
76
5. Install [required system packages](https://github.com/electron-userland/electron-builder/wiki/Multi-Platform-Build).
77
77
@@ -95,21 +95,38 @@ For windows consider only [distributing 64-bit versions](https://github.com/elec
95
95
# CLI Usage
96
96
Execute `node_modules/.bin/build --help` to get actual CLI usage guide.
97
97
```
98
-
--mac, -o Build for MacOS [array]
99
-
--linux, -l Build for Linux [array]
100
-
--win, -w, --windows Build for Windows [array]
101
-
--x64 Build for x64 [boolean]
102
-
--ia32 Build for ia32 [boolean]
103
-
--publish, -p Publish artifacts (to GitHub Releases), see
0 commit comments