Skip to content

Commit

Permalink
⚡ fix example usage in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xxshady authored Feb 26, 2024
1 parent 51ec6b2 commit 9c825d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ use injrs::inject_windows::*;
fn main() {
let name = "Calc.exe";
let dll = "./my-demo-dll.dll";
let p = Process::find_first_by_name(name).unwrap();
let process = Process::find_first_by_name(name).unwrap();

print!("inject dll to process => ");
match process.inject(dll) {
Expand All @@ -88,4 +88,4 @@ fn main() {
}
```

for more detail you can check [src/main.rs](./src/main.rs).
for more detail you can check [src/main.rs](./src/main.rs).

0 comments on commit 9c825d4

Please sign in to comment.