1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Ad-hoc sign Mac builds (#602)

This commit is contained in:
Manolis Papadeas 2021-12-01 17:31:28 +02:00 committed by GitHub
parent f3d696ef81
commit 0259f7523b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -142,8 +142,10 @@ jobs:
printf '%s\n' 'Before running Pixelorama for the first time, make sure to open a Terminal and run:' '' 'xattr -cr /path/to/Pixelorama.app' '' "If you don't, macOS will not let you run Pixelorama and claim it's damaged." "For more info, check disable-gatekeeper.github.io" > ./build/mac/ReadMeFirst.txt
- name: Copy pixelorama_data folder 📁
run: |
cp -R ./pixelorama_data ./build/mac/Pixelorama.app/Contents/MacOS
rm ./build/mac/Pixelorama.app/Contents/MacOS/pixelorama_data/.gdignore
cp -R ./pixelorama_data ./build/mac/Pixelorama.app/Contents/Resources
rm ./build/mac/Pixelorama.app/Contents/Resources/pixelorama_data/.gdignore
- name: Ad-hoc signing ✍️
run: codesign -s - --force --deep ./build/mac/Pixelorama.app
- name: Create DMG archive 🔧
run: hdiutil create -srcfolder ./build/mac -fs HFS+ -volname Pixelorama ./build/mac/Pixelorama.dmg
- name: Upload Artifact 🚀

View file

@ -258,8 +258,10 @@ jobs:
run: sips -s format icns ./build/mac/Pixelorama.app/Contents/Resources/icon.icns --out ./build/mac/Pixelorama.app/Contents/Resources/icon.icns
- name: Copy pixelorama_data folder 📁
run: |
cp -R ./pixelorama_data ./build/mac/Pixelorama.app/Contents/MacOS
rm ./build/mac/Pixelorama.app/Contents/MacOS/pixelorama_data/.gdignore
cp -R ./pixelorama_data ./build/mac/Pixelorama.app/Contents/Resources
rm ./build/mac/Pixelorama.app/Contents/Resources/pixelorama_data/.gdignore
- name: Ad-hoc signing ✍️
run: codesign -s - --force --deep ./build/mac/Pixelorama.app
- name: Create DMG archive 🔧
run: hdiutil create -srcfolder ./build/mac -fs HFS+ -volname Pixelorama ./build/mac/Pixelorama.dmg
- name: Upload Release Asset 🚀