Skip to content

Commit

Permalink
wip: try entitlements
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 9, 2024
1 parent 6ef3bf1 commit 1734340
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions resources/macos/entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?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-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
</dict>
</plist>
2 changes: 1 addition & 1 deletion tools/build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ mv staging/casparcg-client.app "$CLIENT_FOLDER/$CLIENT_FOLDER.app" || fail "Coul
# Sign app bundle
if [ -n "$MACOS_SIGN_NAME" ]; then
echo "Signing..."
codesign --deep --timestamp --options runtime -s "$MACOS_SIGN_NAME" "$CLIENT_FOLDER/$CLIENT_FOLDER.app"
codesign --deep --timestamp --options runtime -s "$MACOS_SIGN_NAME" --entitlements "../resources/macos/entitlements.plist" "$CLIENT_FOLDER/$CLIENT_FOLDER.app"
fi

# Copy documentation
Expand Down

0 comments on commit 1734340

Please sign in to comment.