Fix installing from source

Due to recent build changes, --release no longer applies the right
optimization settings, and --profile firmware has to be used.
This commit is contained in:
Markus Unterwaditzer
2025-05-23 21:20:54 +02:00
committed by Cooper Quintin
parent 70a7d81d05
commit 8755d5694c
3 changed files with 4 additions and 4 deletions

View File

@@ -35,9 +35,9 @@ rustup target add x86_64-pc-windows-gnu
Now you can root your device and install Rayhunter by running:
```sh
cargo build --bin rayhunter-daemon --target armv7-unknown-linux-musleabihf --release --no-default-features --features orbic
cargo build --bin rayhunter-daemon --target armv7-unknown-linux-musleabihf --profile firmware --no-default-features --features orbic
cargo build --bin rootshell --target armv7-unknown-linux-musleabihf --release
cargo build --bin rootshell --target armv7-unknown-linux-musleabihf --profile firmware
cargo run --bin installer orbic
```