Mac: Update MoltenVK to version from the latest SDK

This commit is contained in:
Henrik Rydgård 2023-08-08 11:58:33 +02:00
parent 8e74907710
commit 97a0acf6d0
2 changed files with 6 additions and 3 deletions

View File

@ -1,10 +1,11 @@
#!/bin/bash
echo "Hello"
echo "Hello from macbundle.sh"
PPSSPP="${1}"
PPSSPP_SHORTNAME="${2}"
PPSSPPSDL="${PPSSPP}/Contents/MacOS/${PPSSPP_SHORTNAME}"
MOLTENVK="${PPSSPP}/Contents/Frameworks/libMoltenVK.dylib"
ls ${PPSSPPSDL}
@ -54,5 +55,7 @@ fi
# AdHoc codesign is required for Apple Silicon.
echo "Signing..."
codesign -fs - --entitlements ../macOS/Entitlements.plist --timestamp "${PPSSPPSDL}" || echo "Failed signing"
codesign -fs - --entitlements ../macOS/Entitlements.plist --timestamp "${PPSSPP}" || echo "Failed signing"
codesign -fs - --entitlements ../macOS/Entitlements.plist --timestamp "${MOLTENVK}" || echo "Failed signing MoltenVK"
codesign -fs - --entitlements ../macOS/Entitlements.plist --timestamp "${PPSSPPSDL}" || echo "Failed signing PPSSPPSDL"
codesign -fs - --entitlements ../macOS/Entitlements.plist --timestamp "${PPSSPP}" || echo "Failed signing PPSSPP"