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:
parent
e6cc4b14b0
commit
75ae38ec7b
|
@ -63,6 +63,9 @@ jobs:
|
||||||
- name: Merge binaries
|
- 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
|
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
|
- 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
|
run: hdiutil create -fs HFS+ -volname melonDS -srcfolder ${{runner.workspace}}/build/universal/melonDS.app -ov -format UDBZ ${{runner.workspace}}/build/universal/melonDS.dmg
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue