Skip to content

πŸ†™ Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.

Add provisionprofile

Nayam Amarshecf96efd591cb
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index b64d199..b60ec5f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -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/[email protected]
@@ -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
diff --git a/package.json b/package.json
index 391c4a9..b4b8eb1 100644
--- a/package.json
+++ b/package.json
@@ -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": [