chore: notarize tool

This commit is contained in:
Dr_rOot
2023-04-26 18:21:55 +08:00
parent a82afbf97b
commit 93e8bdff00
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -55,5 +55,6 @@ jobs:
# macOS notarization API key
API_KEY_ID: ${{ secrets.api_key_id }}
API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }}
TEAM_ID: ${{ secrets.team_id }}
APPLE_ID: ${{ secrets.apple_id }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.apple_app_specific_password }}
+2
View File
@@ -21,8 +21,10 @@ exports.default = async function (context) {
try {
await notarize({
tool: 'notarytool',
appBundleId,
appPath,
teamId: process.env.TEAM_ID,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_ID_PASSWORD
})
+2 -1
View File
@@ -2,6 +2,7 @@
"productName": "Motrix",
"appId": "app.motrix.native",
"afterPack": "./build/afterPackHook.js",
"afterSign": "./build/afterSignHook.js",
"fileAssociations": [
{
"ext": "torrent",
@@ -77,7 +78,7 @@
"type": "development",
"darkModeSupport": true,
"hardenedRuntime": false,
"notarize": true,
"notarize": false,
"extraResources": {
"from": "./extra/darwin/${arch}/",
"to": "./",