fix nits in install.sh and update readme with new instructions

This commit is contained in:
Cooper Quintin
2025-03-18 18:21:43 -07:00
parent f69487853a
commit 4214b27c0f
2 changed files with 11 additions and 7 deletions
+8 -4
View File
@@ -17,13 +17,17 @@ Or on [Ebay](https://www.ebay.com/sch/i.html?_nkw=orbic+rc400l)
## Setup
*NOTE: We don't currently support automated installs on windows, you will have to follow the manual install instructions below*
1. Download the latest [Rayhunter release bundle](https://github.com/EFForg/rayhunter/releases) and extract it.
**If you are installing from the cloned github repository please see the development instructions below, running `install-linux.sh` from the git tree will not work.**
**If you are installing from the cloned github repository please see the development instructions below, running `install.sh` from the git tree will not work.**
2. Turn on the Orbic device and plug it into your computer using a USB-C Cable.
2. Run the install script inside the bundle corresponding to your platform (`install-linux.sh`, `install-mac.sh`). The Linux installer has only been tested on the latest version of Ubuntu. If it fails you will need to follow the install steps outlined in **Development** below.
3. Once finished, Rayhunter should be running! You can verify this by visiting the web UI as described below.
3. On MacOS or Linux run the install script `install.sh`.
4. Once finished, Rayhunter should be running! You can verify this by visiting the web UI as described below.
### Notes
* The install script has only been tested for Linux on the latest version of Ubuntu. If it fails you will need to follow the install steps outlined in **Development** below.
* The install script also won't work on older macs with intel chips, for those macs you will need to follow the instructions at https://github.com/EFForg/rayhunter/wiki/Install-Rayhunter-on-Mac-Intel-devices
* We don't currently support automated installs on windows, you will have to follow the manual install instructions below*
## Usage
+3 -3
View File
@@ -99,14 +99,14 @@ test_rayhunter() {
##### ##### #####
##### Main #####
##### ##### #####
if [ `uname -s` = "Linux" ]; then
if [[ `uname -s` == "Linux" ]]; then
export SERIAL_PATH="./serial-ubuntu-latest/serial"
export PLATFORM_TOOLS="platform-tools-latest-linux.zip"
elif [ `uname -s` = "Darwin" ]; then
elif [[ `uname -s` == "Darwin" && `uname -m` == "arm64" ]]; then
export SERIAL_PATH="./serial-macos-latest/serial"
export PLATFORM_TOOLS="platform-tools-latest-darwin.zip"
else
echo "This script only supports Linux or macOS"
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
fi