1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-23 23:21:05 +01:00

Add provisionprofile

This commit is contained in:
Nayam Amarshe 2023-10-15 10:57:13 +05:30
parent 5ec42baeb5
commit cf96efd591
2 changed files with 21 additions and 19 deletions

View File

@ -36,6 +36,7 @@ jobs:
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
TEAMID: ${{ secrets.TEAMID }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PROVISION_PROFILE: ${{ secrets.PROVISION_PROFILE }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.5.0
@ -45,6 +46,7 @@ jobs:
run: |
npm install
rm -rf node_modules/sharp
echo -n "$PROVISION_PROFILE" | base64 --decode > embedded.provisionprofile
npm install --platform=darwin --arch=x64 sharp
npm rebuild --platform=darwin --arch=arm64 sharp
npm run publish-mac-app

View File

@ -96,6 +96,25 @@
"to": "resources/512x512.png"
}
],
"mas": {
"hardenedRuntime": false,
"type": "distribution",
"category": "public.app-category.photography",
"entitlements": "resources/entitlements.mac.plist",
"entitlementsInherit": "resources/entitlements.mas.inherit.plist",
"provisioningProfile": "embedded.provisionprofile",
"mergeASARs": false,
"icon": "build/icon.icns",
"x64ArchFiles": "*",
"target": [
{
"target": "pkg",
"arch": [
"universal"
]
}
]
},
"mac": {
"type": "distribution",
"category": "public.app-category.photography",
@ -121,25 +140,6 @@
],
"x64ArchFiles": "*"
},
"mas": {
"hardenedRuntime": false,
"type": "distribution",
"category": "public.app-category.photography",
"entitlements": "resources/entitlements.mac.plist",
"entitlementsInherit": "resources/entitlements.mas.inherit.plist",
"provisioningProfile": "embedded.provisionprofile",
"mergeASARs": false,
"icon": "build/icon.icns",
"x64ArchFiles": "*",
"target": [
{
"target": "pkg",
"arch": [
"universal"
]
}
]
},
"dmg": {
"sign": "false",
"contents": [