chore: update build instructions

This commit is contained in:
Timofey Gelazoniya 2024-09-04 12:39:00 +03:00
parent 75b70514e1
commit 58d139d156
Signed by: zeldon
GPG Key ID: 047886915281DD2A
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ To build, you must have [Rust](https://www.rust-lang.org/) and
1. Clone this repository: `git clone https://github.com/xzeldon/razer-battery-report.git` 1. Clone this repository: `git clone https://github.com/xzeldon/razer-battery-report.git`
2. Navigate into your local repository: `cd razer-battery-report` 2. Navigate into your local repository: `cd razer-battery-report`
3. Build: `cargo build razer-battery-report --release` 3. Build: `cargo build --release`
4. Executable will be located at `target/release/razer-battery-report` 4. Executable will be located at `target/release/razer-battery-report.exe`
## Adding new devices yourself ## Adding new devices yourself
* add device with `name`, `pid`, `interface`, `usage_page`, `usage` to [devices.rs](/src/devices.rs) * add device with `name`, `pid`, `interface`, `usage_page`, `usage` to [devices.rs](/src/devices.rs)