Skip to content

Commit

Permalink
修改Mac编译选项
Browse files Browse the repository at this point in the history
  • Loading branch information
iamapig120 committed Jan 20, 2019
1 parent 52c50a5 commit 959969d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ cd "${build_folder}/unpacked"
echo "$(pwd)"
for folder in $(ls .)
do
zip -ry "${build_folder}/packed/${folder}.zip" "${folder}"
zip -ry "${build_folder}/packed/${folder}.{zip|dmg}" "${folder}"
done
cd "${pwd}"
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "majsoul-plus-client",
"version": "1.7.2",
"version": "1.7.3-alpha.1",
"productName": "Majsoul Plus",
"author": "MajsoulPlus Team",
"description": "Majsoul Plus",
Expand All @@ -11,9 +11,18 @@
"build": "npm run build-win32 && npm run build-linux && npm run build-darwin",
"build-win32": "electron-packager . Majsoul_Plus --platform=win32 --arch=all --out ./build/unpacked --ignore=build --overwrite --icon=bin/icons/icon.ico",
"build-linux": "electron-packager . Majsoul_Plus --platform=linux --arch=all --out ./build/unpacked --ignore=build --overwrite --icon=bin/icons/icon.png",
"build-darwin": "electron-packager . Majsoul_Plus --platform=darwin --arch=all --out ./build/unpacked --ignore=build --overwrite --icon=bin/icons/icon.icns",
"build-darwin": "electron-builder . Majsoul_Plus --platform=darwin --arch=all",
"test": "echo \"Error: no test specified\" && exit 1"
},
"build": {
"directories": {
"output": "build/unpacked"
},
"mac": {
"icon": "bin/icons/icon.icns",
"asar": false
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/iamapig120/majsoul-custorm-server.git"
Expand All @@ -32,6 +41,7 @@
"cross-env": "^5.2.0",
"electron": "^2.0.12",
"electron-packager": "^13.0.1",
"electron-builder": "^20.38.5",
"eslint": "^5.12.0"
}
}

0 comments on commit 959969d

Please sign in to comment.