Docs: update config docs to v2 schema and add config.md

- docs: add config.md documenting the v2 schema ([JuiceAgent] / [JarLoader]), key defaults and the BuiltIn / CustomJar modes

- docs: rewrite advanced.md around the JarLoader.Mode = CustomJar workflow instead of the removed JUICEAGENT_API_* environment variables

- readme: migrate the Quick Start config example from v1 to v2 and link docs/config.md, list inject-via-java-api under Examples

- examples: update inject-via-java-api HowToUse docs (.md/.txt, EN/ZH) to the v2 config
This commit is contained in:
xiaozhou233 committed 2026-10-15 20:02:32 +08:00
1 parent af22f80b23
commit 5170d50517
8 files changed
+118 -57

No files matched your search

+3 -6
View File
@@ -64,15 +64,12 @@ in `config.toml` and execute its entry method.
```toml
[JuiceAgent]
Version = 1
[JuiceAgent.Loader]
Version = 2
JuiceAgentNativeLibraryPath = ""
[JuiceAgent.Modules]
[JuiceAgent.Modules.JarLoader]
[JarLoader]
Enabled = true
Mode = "BuiltIn"
InjectionDir = "./injection"
JarPath = "./demo.jar"
EntryClass = "Example.Main"