mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-04 04:11:35 -07:00
Remove the quarantine bit from the serial command on macOS
This commit is contained in:
committed by
Will Greenberg
parent
0b3c0de481
commit
88f81d86fa
Vendored
+1
@@ -105,6 +105,7 @@ if [[ `uname -s` == "Linux" ]]; then
|
|||||||
elif [[ `uname -s` == "Darwin" && `uname -m` == "arm64" ]]; then
|
elif [[ `uname -s` == "Darwin" && `uname -m` == "arm64" ]]; then
|
||||||
export SERIAL_PATH="./serial-macos-latest/serial"
|
export SERIAL_PATH="./serial-macos-latest/serial"
|
||||||
export PLATFORM_TOOLS="platform-tools-latest-darwin.zip"
|
export PLATFORM_TOOLS="platform-tools-latest-darwin.zip"
|
||||||
|
xattr -d com.apple.quarantine "$SERIAL_PATH"
|
||||||
else
|
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"
|
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
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user