release build 1.0.2
This commit is contained in:
parent
f4dd5c9984
commit
46742528d5
|
@ -1,7 +1,7 @@
|
||||||
# Build the MAS app
|
# Build the MAS app
|
||||||
CSC_IDENTITY_AUTO_DISCOVERY=false npx electron-builder -c electron-builder-mas.yml --mac mas:universal
|
CSC_IDENTITY_AUTO_DISCOVERY=false npx electron-builder -c electron-builder-mas.yml --mac mas:universal
|
||||||
# Add ElectronTeamID to Info.plist
|
# Add ElectronTeamID to Info.plist
|
||||||
sed -i '' -e 's/<\/dict>/<key>ElectronTeamID<\/key><string>EM8VE646TZ<\/string><\/dict>/g' "/Users/haoyuanliu/Developer/fluent-reader/bin/darwin/universal/mas-universal/Fluent Reader.app/Contents/Info.plist"
|
sed -i '' -e 's/<\/dict>/<key>ElectronTeamID<\/key><string>EM8VE646TZ<\/string><\/dict>/g' "bin/darwin/universal/mas-universal/Fluent Reader.app/Contents/Info.plist"
|
||||||
|
|
||||||
printf "......................\nresignAndPackage start\n\n"
|
printf "......................\nresignAndPackage start\n\n"
|
||||||
|
|
||||||
|
@ -10,9 +10,9 @@ APP="Fluent Reader"
|
||||||
# Your Certificate name.
|
# Your Certificate name.
|
||||||
CERT="Jieyu Yan (EM8VE646TZ)"
|
CERT="Jieyu Yan (EM8VE646TZ)"
|
||||||
# The path of your app to sign.
|
# The path of your app to sign.
|
||||||
APP_PATH="/Users/haoyuanliu/Developer/fluent-reader/bin/darwin/universal/mas-universal/Fluent Reader.app"
|
APP_PATH="bin/darwin/universal/mas-universal/Fluent Reader.app"
|
||||||
# The path to the location you want to put the signed package.
|
# The path to the location you want to put the signed package.
|
||||||
RESULT_PATH="/Users/haoyuanliu/Developer/fluent-reader/bin/$APP-mac_store.pkg"
|
RESULT_PATH="bin/$APP-mac_store.pkg"
|
||||||
# The name of certificates you requested.
|
# The name of certificates you requested.
|
||||||
APP_KEY="Apple Distribution: $CERT"
|
APP_KEY="Apple Distribution: $CERT"
|
||||||
INSTALLER_KEY="3rd Party Mac Developer Installer: $CERT"
|
INSTALLER_KEY="3rd Party Mac Developer Installer: $CERT"
|
||||||
|
|
|
@ -19,6 +19,7 @@ mac:
|
||||||
- es
|
- es
|
||||||
- de
|
- de
|
||||||
- tr
|
- tr
|
||||||
|
- ja
|
||||||
- sv
|
- sv
|
||||||
- uk
|
- uk
|
||||||
- it
|
- it
|
||||||
|
@ -26,7 +27,6 @@ mac:
|
||||||
win:
|
win:
|
||||||
target:
|
target:
|
||||||
- nsis
|
- nsis
|
||||||
- appx
|
|
||||||
- zip
|
- zip
|
||||||
appx:
|
appx:
|
||||||
applicationId: FluentReader
|
applicationId: FluentReader
|
||||||
|
@ -41,6 +41,7 @@ appx:
|
||||||
- es
|
- es
|
||||||
- de
|
- de
|
||||||
- tr
|
- tr
|
||||||
|
- ja
|
||||||
- sv
|
- sv
|
||||||
- uk
|
- uk
|
||||||
- it
|
- it
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "webpack --config ./webpack.config.js",
|
"build": "webpack --config ./webpack.config.js",
|
||||||
"electron": "electron ./dist/electron.js",
|
"electron": "electron ./dist/electron.js",
|
||||||
"start": "npm run build && npm run electron",
|
"start": "npm run build && npm run electron",
|
||||||
"package-win": "electron-builder -w --x64 && electron-builder -w --ia32 && electron-builder -w appx:arm64",
|
"package-win": "electron-builder -w appx:x64 && electron-builder -w appx:ia32 && electron-builder -w appx:arm64",
|
||||||
"package-win-ci": "electron-builder -w --x64 -p never && electron-builder -w --ia32 -p never",
|
"package-win-ci": "electron-builder -w --x64 -p never && electron-builder -w --ia32 -p never",
|
||||||
"package-mac": "electron-builder --mac --x64",
|
"package-mac": "electron-builder --mac --x64",
|
||||||
"package-mas": "bash build/resignAndPackage.sh",
|
"package-mas": "bash build/resignAndPackage.sh",
|
||||||
|
|
Loading…
Reference in New Issue