We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b24d23 commit f050bb1Copy full SHA for f050bb1
script/mas.sh
@@ -2,22 +2,19 @@
2
3
set -ex
4
5
-# TODO read these from package.json
6
-VERSION="1.0.2"
7
-APP="Electron API Demos"
8
-
9
electron-packager . \
10
--asar \
11
--overwrite \
12
--platform=mas \
13
--app-bundle-id=com.github.electron-api-demos \
14
- --app-version=$VERSION \
+ --app-version="$npm_package_version" \
15
--arch=x64 \
16
--icon=assets/app-icon/mac/app.icns \
17
--prune=true \
18
--out=out \
19
--extend-info=assets/mac/info.plist
20
+APP="$npm_package_productName"
21
APP_PATH="./out/$APP-mas-x64/$APP.app"
22
RESULT_PATH="./out/$APP.pkg"
23
APP_KEY="3rd Party Mac Developer Application: GitHub (VEKTX9H2N7)"
0 commit comments