Skip to content

Commit

Permalink
codesign the final universal macOS app bundle
Browse files Browse the repository at this point in the history
otherwise the code signature in it will be invalid, and macOS won't run
it witohout manually removing xattrs
  • Loading branch information
nadiaholmquist committed Jul 24, 2023
1 parent e6cc4b1 commit 75ae38e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-macos-universal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 75ae38e

Please sign in to comment.