[Doc] Update Version & Example Config

This commit is contained in:
xiaozhou233 committed 2026-04-20 16:48:29 +08:00
1 parent 95f5604bfe
commit f5912f8040
2 files changed
+22 -26

No files matched your search

+11 -13
View File
@@ -5,7 +5,7 @@ JuiceAgent is a JVMTI-based injection library for loading external JARs and tran
**Notice:** Currently, only **Windows** is supported. **Linux** support may be added in the future.
**Notice:** The current repository version is **Version 3.1 Build 3**.
**Notice:** The current repository version is **Version 3.3 Build 1**.
**Warning:** This project is still experimental and is not recommended for production use. Use it at your own risk.
@@ -42,22 +42,20 @@ Create a file named `config.toml` in `YourDir`.
```toml
[JuiceAgent]
# Default value: YourDir/JuiceAgent-API.jar
Version = 1
[JuiceAgent.Loader]
JuiceAgentAPIJarPath = ""
# Default value: YourDir/libagent.dll
JuiceAgentNativePath = ""
JuiceAgentNativeLibraryPath = ""
[Entry]
# Default value: YourDir/Entry.jar
EntryJarPath = ""
# Default value: com.example.Entry
EntryClass = ""
# Default value: start
EntryMethod = "start"
[JuiceAgent.Modules]
[Runtime]
# Default value: YourDir/injection
[JuiceAgent.Modules.JarLoader]
Enabled = true
InjectionDir = ""
JarPath = ""
EntryClass = ""
EntryMethod = ""
```
### 3. Run the Injector
+11 -13
View File
@@ -5,7 +5,7 @@ JuiceAgent 是一个基于 JVMTI 的注入库,用于加载外部 JAR 并对 Ja
**注意:** 当前仅支持 **Windows**,未来可能会支持 **Linux**。
**注意:** 当前仓库版本为 **Version 3.1 Build 3**。
**注意:** 当前仓库版本为 **Version 3.3 Build 1**。
**警告:** 本项目仍处于实验阶段,不建议在生产环境中使用。使用风险请自行承担。
@@ -42,22 +42,20 @@ JuiceAgent 是一个基于 JVMTI 的原生注入框架。它通过向目标 JVM
```toml
[JuiceAgent]
# 默认值: YourDir/JuiceAgent-API.jar
Version = 1
[JuiceAgent.Loader]
JuiceAgentAPIJarPath = ""
# 默认值: YourDir/libagent.dll
JuiceAgentNativePath = ""
JuiceAgentNativeLibraryPath = ""
[Entry]
# 默认值: YourDir/Entry.jar
EntryJarPath = ""
# 默认值: com.example.Entry
EntryClass = ""
# 默认值: start
EntryMethod = "start"
[JuiceAgent.Modules]
[Runtime]
# 默认值: YourDir/injection
[JuiceAgent.Modules.JarLoader]
Enabled = true
InjectionDir = ""
JarPath = ""
EntryClass = ""
EntryMethod = ""
```
### 3. 执行注入