Docs: Fix doc path

This commit is contained in:
xiaozhou233 committed 2026-08-19 19:03:05 +08:00
1 parent 396ec1a96f
commit 41049f1852
3 files changed
+2 -20

No files matched your search

+1 -1
View File
@@ -170,7 +170,7 @@ You can also pass arguments directly: `injector.exe <pid> <libloader.dll path> [
#### Method B: Use JNI to call `inject`
See [Inject](doc/Inject.md)
See [Inject](docs/Inject.md)
### 5. Done
+1 -19
View File
@@ -171,25 +171,7 @@ Input PID:
#### 方法 B:通过 JNI 调用 `inject`
在你的项目中创建 `cn/xiaozhou233/juiceagent/injector/InjectorNative.java`:
```java
package cn.xiaozhou233.juiceagent.injector;
public class InjectorNative {
public native boolean inject(int pid, String path);
public native boolean inject(int pid, String path, String configDir);
}
```
示例:
```java
System.load("<libinject.dll 的路径>");
InjectorNative injectorNative = new InjectorNative();
injectorNative.inject(<pid>, "<libloader.dll 的路径>", "<配置文件所在目录>");
```
看 [Inject](docs/Inject.md)
### 5. 完成
View File
File renamed without changes.