mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-28 17:58:15 -07:00
update installer script for macOS Intel
This commit is contained in:
committed by
Cooper Quintin
parent
65b9843e39
commit
6204bc0195
Vendored
+7
-3
@@ -102,12 +102,16 @@ test_rayhunter() {
|
|||||||
if [[ `uname -s` == "Linux" ]]; then
|
if [[ `uname -s` == "Linux" ]]; then
|
||||||
export SERIAL_PATH="./serial-ubuntu-latest/serial"
|
export SERIAL_PATH="./serial-ubuntu-latest/serial"
|
||||||
export PLATFORM_TOOLS="platform-tools-latest-linux.zip"
|
export PLATFORM_TOOLS="platform-tools-latest-linux.zip"
|
||||||
elif [[ `uname -s` == "Darwin" && `uname -m` == "arm64" ]]; then
|
elif [[ `uname -s` == "Darwin" ]]; then
|
||||||
export SERIAL_PATH="./serial-macos-latest/serial"
|
if [[ `uname -m` == "arm64" ]]; then
|
||||||
|
export SERIAL_PATH="./serial-macos-arm/serial"
|
||||||
|
elif [[ `uname -m` == "x86_64" ]]; then
|
||||||
|
export SERIAL_PATH="./serial-macos-intel/serial"
|
||||||
|
fi
|
||||||
export PLATFORM_TOOLS="platform-tools-latest-darwin.zip"
|
export PLATFORM_TOOLS="platform-tools-latest-darwin.zip"
|
||||||
xattr -d com.apple.quarantine "$SERIAL_PATH"
|
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"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user