This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script creates an entitlements file with com.apple.security.get-task-allow enabled | |
# and re-signs the specified binary using an ad hoc signature. | |
# Mostly written by chatgpt. It works though :) | |
# Usage: run it on an app idk it's pretty simple | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 /Path/To/YourBinary" | |
exit 1 |