diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-07-24 11:28:33 +0200 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-07-24 11:29:43 +0200 |
commit | 75ae38ec7b8164011a959bc24866e313e5ea2d86 (patch) | |
tree | 488f3ac86ac3eb390af058cba67bf31304777952 /.github/workflows | |
parent | e6cc4b14b0eb603001e968be9b1ace8a09e1bce1 (diff) |
codesign the final universal macOS app bundle
otherwise the code signature in it will be invalid, and macOS won't run
it witohout manually removing xattrs
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-macos-universal.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/build-macos-universal.yml b/.github/workflows/build-macos-universal.yml index 0f0089f..4416ce7 100644 --- a/.github/workflows/build-macos-universal.yml +++ b/.github/workflows/build-macos-universal.yml @@ -63,6 +63,9 @@ jobs: - name: Merge binaries run: $GITHUB_WORKSPACE/tools/mac-universal.py ${{runner.workspace}}/build/arm64/melonDS.app ${{runner.workspace}}/build/x86_64/melonDS.app ${{runner.workspace}}/build/universal/melonDS.app + - name: Codesign app + run: codesign -s - --deep -f ${{runner.workspace}}/build/universal/melonDS.app + - name: Create DMG run: hdiutil create -fs HFS+ -volname melonDS -srcfolder ${{runner.workspace}}/build/universal/melonDS.app -ov -format UDBZ ${{runner.workspace}}/build/universal/melonDS.dmg |