mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
macOS: Add new macOS directory, and an Entitlements.plist file. Part of notarization work.
This commit is contained in:
parent
ccb8276fc8
commit
a040985af0
@ -38,7 +38,7 @@ elif [ "$(otool -L "${PPSSPPSDL}" | grep @rpath/SDL)" != "" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
GIT_VERSION_LINE=$(grep "PPSSPP_GIT_VERSION = " "$(dirname "${0}")/../git-version.cpp")
|
GIT_VERSION_LINE=$(grep "PPSSPP_GIT_VERSION = " "$(dirname "${0}")/../git-version.cpp")
|
||||||
echo "Setting version to ${GIT_VERSION_LINE}..."
|
echo "Setting version to '${GIT_VERSION_LINE}'..."
|
||||||
SHORT_VERSION_MATCH='.*"v([0-9\.]+(-[0-9]+)?).*";'
|
SHORT_VERSION_MATCH='.*"v([0-9\.]+(-[0-9]+)?).*";'
|
||||||
LONG_VERSION_MATCH='.*"v(.*)";'
|
LONG_VERSION_MATCH='.*"v(.*)";'
|
||||||
if [[ "${GIT_VERSION_LINE}" =~ ^${SHORT_VERSION_MATCH}$ ]]; then
|
if [[ "${GIT_VERSION_LINE}" =~ ^${SHORT_VERSION_MATCH}$ ]]; then
|
||||||
|
12
macOS/Entitlements.plist
Normal file
12
macOS/Entitlements.plist
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>com.apple.security.cs.allow-jit</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.disable-executable-page-protection</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
3
macOS/README.md
Normal file
3
macOS/README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Entitlements.plist is to be used for code signing on macOS.
|
||||||
|
|
||||||
|
We enable "hardened runtime" in order to make notarization happy, but we need some exceptions.
|
Loading…
Reference in New Issue
Block a user