Skip to content

Commit

Permalink
Merge pull request #1 from xxshady/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
jiusanzhou authored Feb 26, 2024
2 parents 51ec6b2 + 9c825d4 commit d30ebce
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 d30ebce

Please sign in to comment.