mkxp-z/macos/codesign.sh
zzoro cad320b4e0 Add app entitlements + codesign script
Because I managed to leave them untracked in the last commit.
2020-11-16 04:40:41 -05:00

8 lines
No EOL
209 B
Bash
Executable file

#!/bin/bash
IDENTITY="$1"
if [[ $IDENTITY == "" ]]; then
IDENTITY=-
fi
codesign -vfs $IDENTITY --entitlements "${MESON_SOURCE_ROOT}/macos/entitlements.plist" --deep -o runtime "${MESON_INSTALL_PREFIX}"