From c2b0560d9168c8c00b398d949d6e1a847f0199bc Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 16 Feb 2025 14:58:29 +0100 Subject: [PATCH] git: Make sure entitlements are applied correctly to ARM macos builds --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 018a03fbe..ad78ebb17 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -500,6 +500,7 @@ jobs: run: | echo "IMHEX_VERSION=`cat VERSION`" >> $GITHUB_OUTPUT docker buildx build . -f dist/macOS/arm64.Dockerfile --progress=plain --build-arg 'JOBS=4' --build-arg "BUILD_TYPE=$(BUILD_TYPE)" --build-context imhex=$(pwd) --output out + cp resources/dist/macos/Entitlements.plist out/Entitlements.plist - name: ⬆️ Upload artifacts uses: actions/upload-artifact@v4 @@ -546,7 +547,7 @@ jobs: cd out mv imhex.app ImHex.app codesign --remove-signature ImHex.app - codesign --force --deep --sign - ImHex.app + codesign --force --deep --entitlements Entitlements.plist --sign - ImHex.app - name: 📁 Fix permissions run: |