mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 13:05:53 +08:00
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:
1 parent
af22f80b23
commit
5170d50517
8 files changed
+118
-57
No files matched your search
@@ -47,15 +47,12 @@ Configuration (config.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"
|
||||
|
||||
Reference in new issue
Block a user