Remove the quarantine bit from the serial command on macOS

This commit is contained in:
Kirk Strauser
2025-03-19 11:54:26 -07:00
committed by Will Greenberg
parent 0b3c0de481
commit 88f81d86fa

1
dist/install.sh vendored
View File

@@ -105,6 +105,7 @@ if [[ `uname -s` == "Linux" ]]; then
elif [[ `uname -s` == "Darwin" && `uname -m` == "arm64" ]]; then
export SERIAL_PATH="./serial-macos-latest/serial"
export PLATFORM_TOOLS="platform-tools-latest-darwin.zip"
xattr -d com.apple.quarantine "$SERIAL_PATH"
else
echo "This script only supports Linux or macOS with M1/M2 arm chips, for MacOS on Intel devices see the instructions here: https://github.com/EFForg/rayhunter/wiki/Install-Rayhunter-on-Mac-Intel-devices"
exit 1