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
This commit is contained in:
Nadia Holmquist Pedersen 2023-07-24 11:28:33 +02:00
parent e6cc4b14b0
commit 75ae38ec7b
1 changed files with 3 additions and 0 deletions

View File

@ -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