0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-22 18:05:46 +00:00

Code sign Mach O files manually

Fix typo
Add MacOS Output and Temp folders to GitIgnore
This commit is contained in:
Aaron Murgatroyd 2024-11-09 13:26:23 +10:00 committed by TheToid
parent 7e16fccfc1
commit 20ddc80a2a
2 changed files with 7 additions and 2 deletions

4
.gitignore vendored
View file

@ -175,3 +175,7 @@ PublishProfiles/
# Glade backup files
*.glade~
# Distribution for MACOS Files
distribution/macos/temp/*
distribution/macos/output/*

View file

@ -42,9 +42,10 @@ then
fi
# cargo install apple-codesign
echo "Usign rcodesign for ad-hoc signing"
echo "Using rcodesign for ad-hoc signing"
rcodesign sign --entitlements-xml-path "$ENTITLEMENTS_FILE_PATH" "$APP_BUNDLE_DIRECTORY"
else
echo "Usign codesign for ad-hoc signing"
echo "Using codesign for ad-hoc signing"
find "$APP_BUNDLE_DIRECTORY" -name "*.dylib" -exec codesign -f -s - {} \;
codesign --entitlements "$ENTITLEMENTS_FILE_PATH" -f -s - "$APP_BUNDLE_DIRECTORY"
fi