Merge branch 'v3' into v3-m1mac
Showing
.ci/macos-build.sh
0 → 100755
.ci/macos-notarize.sh
0 → 100755
This diff is collapsed.
end.html
deleted
100644 → 0
end.ts
deleted
100644 → 0
end_YGOPro.html
deleted
100644 → 0
end_YGOPro.ts
deleted
100644 → 0
images/noavatar.png
0 → 100644
This diff was suppressed by a .gitattributes entry.
This diff is collapsed.
This diff is collapsed.
{ | { | ||
"name": "mycard", | "name": "mycard", | ||
"version": "3.0.43", | "version": "3.0.45", | ||
"description": "moecube", | "description": "moecube", | ||
"keywords": [], | "keywords": [], | ||
"author": "zh99998 <zh99998@gmail.com>", | "author": "zh99998 <zh99998@gmail.com>", | ||
... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
"release": "tsc && electron-builder", | "release": "tsc && electron-builder", | ||
"build:aot": "ngc -p tsconfig-aot.json && rollup -c rollup-config.js", | "build:aot": "ngc -p tsconfig-aot.json && rollup -c rollup-config.js", | ||
"tsc": "tsc", | "tsc": "tsc", | ||
"i18n": "ng-xi18n --i18nFormat 'xlf2' && sed -i.bak 's/source-language=\"en\"/source-language=\"zh-CN\"/' messages.xlf", | "i18n": "ng-xi18n --i18nFormat xlf && sed -i.bak 's/source-language=\"en\"/source-language=\"zh-CN\"/' messages.xlf", | ||
"i18n:upload": "npm run i18n && curl --location --user ${TRANSIFEX_USERNAME}:${TRANSIFEX_PASSWORD} --request PUT --header 'Content-type: multipart/form-data' --form content=@messages.xlf https://www.transifex.com/api/2/project/moecube/resource/messages/content/", | "i18n:upload": "npm run i18n && curl --location --user ${TRANSIFEX_USERNAME}:${TRANSIFEX_PASSWORD} --request PUT --header 'Content-type: multipart/form-data' --form content=@messages.xlf https://www.transifex.com/api/2/project/moecube/resource/messages/content/", | ||
"i18n:translate": "open https://www.transifex.com/moecube/moecube/translate/#en_US/messages/108367258?translated=no", | "i18n:translate": "open https://www.transifex.com/moecube/moecube/translate/#en_US/messages/108367258?translated=no", | ||
"i18n:download": "curl --output locale/messages.en-US.xlf --retry 5 --location --user ${TRANSIFEX_USERNAME}:${TRANSIFEX_PASSWORD} https://www.transifex.com/api/2/project/moecube/resource/messages/translation/en_US/?file && sed -i.bak 's/\\&/\\&/g; s/\\</</g; s/\\>/>/g; s/\\"/\"/g;' locale/messages.en-US.xlf", | "i18n:download": "curl --output locale/messages.en-US.xlf --retry 5 --location --user ${TRANSIFEX_USERNAME}:${TRANSIFEX_PASSWORD} https://www.transifex.com/api/2/project/moecube/resource/messages/translation/en_US/?file && sed -i.bak 's/\\&/\\&/g; s/\\</</g; s/\\>/>/g; s/\\"/\"/g;' locale/messages.en-US.xlf", | ||
... | @@ -75,12 +75,13 @@ | ... | @@ -75,12 +75,13 @@ |
"@types/typeahead": "latest", | "@types/typeahead": "latest", | ||
"electron": "^4.2.12", | "electron": "^4.2.12", | ||
"electron-builder": "latest", | "electron-builder": "latest", | ||
"electron-builder-notarize": "^1.2.0", | |||
"rollup": "latest", | "rollup": "latest", | ||
"rollup-plugin-commonjs": "latest", | "rollup-plugin-commonjs": "latest", | ||
"rollup-plugin-node-resolve": "latest", | "rollup-plugin-node-resolve": "latest", | ||
"rollup-plugin-uglify": "latest", | "rollup-plugin-uglify": "latest", | ||
"tslint": "^3.15.1", | "tslint": "^3.15.1", | ||
"typescript": "latest" | "typescript": "^2.9.2" | ||
}, | }, | ||
"build": { | "build": { | ||
"productName": "MyCard", | "productName": "MyCard", | ||
... | @@ -94,9 +95,6 @@ | ... | @@ -94,9 +95,6 @@ |
"extraResources": [ | "extraResources": [ | ||
"bin" | "bin" | ||
], | ], | ||
"win": { | |||
"publisherName": "Nana Yumesaki" | |||
}, | |||
"linux": { | "linux": { | ||
"target": [ | "target": [ | ||
{ | { | ||
... | @@ -112,6 +110,11 @@ | ... | @@ -112,6 +110,11 @@ |
} | } | ||
] | ] | ||
}, | }, | ||
"afterSign": "electron-builder-notarize", | |||
"mac": { | |||
"hardenedRuntime": true, | |||
"entitlements": "./node_modules/electron-builder-notarize/entitlements.mac.inherit.plist" | |||
}, | |||
"dmg": { | "dmg": { | ||
"contents": [ | "contents": [ | ||
{ | { | ||
... | ... |
Please register or sign in to comment