mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-12 07:43:30 -07:00
mac installer: if we've already removed quarantine bit, continue
This commit is contained in:
committed by
Cooper Quintin
parent
7b897c335d
commit
91e825adff
Vendored
+2
-1
@@ -109,7 +109,8 @@ elif [[ `uname -s` == "Darwin" ]]; then
|
||||
export SERIAL_PATH="./serial-macos-intel/serial"
|
||||
fi
|
||||
export PLATFORM_TOOLS="platform-tools-latest-darwin.zip"
|
||||
xattr -d com.apple.quarantine "$SERIAL_PATH"
|
||||
# if we've already deleted this attribute, xattr errors out
|
||||
xattr -d com.apple.quarantine "$SERIAL_PATH" || echo
|
||||
else
|
||||
echo "This script only supports Linux or macOS"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user