mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-17 05:18:11 -07:00
Merge remote-tracking branch 'origin/main' into build-features
This commit is contained in:
Vendored
+7
-2
@@ -100,7 +100,11 @@ test_rayhunter() {
|
||||
##### Main #####
|
||||
##### ##### #####
|
||||
if [[ `uname -s` == "Linux" ]]; then
|
||||
export SERIAL_PATH="./serial-ubuntu-24/serial"
|
||||
if [[ `uname -m` == "arm64" ]]; then
|
||||
export SERIAL_PATH="./serial-ubuntu-24-aarch64/serial"
|
||||
elif [[ `uname -m` == "x86_64" ]]; then
|
||||
export SERIAL_PATH="./serial-ubuntu-24/serial"
|
||||
fi
|
||||
export PLATFORM_TOOLS="platform-tools-latest-linux.zip"
|
||||
elif [[ `uname -s` == "Darwin" ]]; then
|
||||
if [[ `uname -m` == "arm64" ]]; then
|
||||
@@ -109,7 +113,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