mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 21:15:56 +08:00
Add a complete load-via-injector-exe example with injection/target sources, build scripts, config and bilingual docs. Remove the old loop example and config_empty.toml. Add examples-specific .gitignore for build artifacts.
22 lines
615 B
TOML
22 lines
615 B
TOML
[JuiceAgent]
|
|
Version = 1
|
|
|
|
[JuiceAgent.Loader]
|
|
# Path to JuiceAgent-API jar, leave empty to use the built-in API
|
|
JuiceAgentAPIJarPath = ""
|
|
# Path to libagent.dll, default is "./libagent.dll"
|
|
JuiceAgentNativeLibraryPath = ""
|
|
|
|
[JuiceAgent.Modules]
|
|
|
|
[JuiceAgent.Modules.JarLoader]
|
|
Enabled = true
|
|
# Directory containing dependency JARs to load into the JVM (put your deps here)
|
|
InjectionDir = "./injection"
|
|
# Path to the injection JAR to be loaded
|
|
JarPath = "./demo.jar"
|
|
# Entry class to be executed after loading the JAR
|
|
EntryClass = "Example.Main"
|
|
# Entry method, must be: public static void run()
|
|
EntryMethod = "run"
|