sign the app instead of the dmg, maybe that'll let it at least open without removing the quarantined attribute

This commit is contained in:
Nadia Holmquist Pedersen 2024-12-11 13:46:41 +01:00
parent d0fff6ccee
commit 825233653d
1 changed files with 1 additions and 1 deletions

View File

@ -75,6 +75,7 @@ jobs:
unzip *.zip unzip *.zip
lipo {.,x86_64}/melonDS.app/Contents/MacOS/melonDS -create -output melonDS lipo {.,x86_64}/melonDS.app/Contents/MacOS/melonDS -create -output melonDS
cp melonDS melonDS.app/Contents/MacOS/melonDS cp melonDS melonDS.app/Contents/MacOS/melonDS
codesign -s - --deep melonDS.app
- name: Create disk image - name: Create disk image
shell: bash shell: bash
run: | run: |
@ -82,7 +83,6 @@ jobs:
ln -s /Applications app/Applications ln -s /Applications app/Applications
mv melonDS.app app mv melonDS.app app
hdiutil create -fs HFS+ -volname melonDS -srcfolder app -ov -format UDBZ melonDS.dmg hdiutil create -fs HFS+ -volname melonDS -srcfolder app -ov -format UDBZ melonDS.dmg
codesign -s - --deep melonDS.dmg
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with: