From f5912f8040a40101312f5ac538b2e6502836ff8e Mon Sep 17 00:00:00 2001 From: xiaozhou233 Date: Mon, 20 Apr 2026 16:48:29 +0800 Subject: [PATCH] [Doc] Update Version & Example Config --- README.md | 24 +++++++++++------------- README_zh.md | 24 +++++++++++------------- 2 files changed, 22 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index c4f22c4..4ddded4 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README_zh.md b/README_zh.md index 3a3391a..5251b15 100644 --- a/README_zh.md +++ b/README_zh.md @@ -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. 执行注入