Created
February 15, 2018 11:35
-
-
Save naus3a/85d9df38d643275b2c49ad3f8055a325 to your computer and use it in GitHub Desktop.
Bash script to fix the infamous Gatekeeper path randomization issue in Sierra or above
This file contains 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 | |
here="`dirname \"$0\"`" | |
for i in $here/*.app; do | |
cp -r $i ~/Desktop/temp.app | |
cp -r ~/Desktop/temp.app $i | |
rm -rf ~/Desktop/temp.app | |
xattr -dr com.apple.quarantine $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment