mirror of
https://github.com/xiaozhou233/OrangeX-Client.git
synced 2026-12-05 13:05:52 +08:00
Feat: Add default JuiceAgent config
Configure the built-in jar loader to load Loader.jar and call Loader.entry.
This commit is contained in:
1 parent
faa84b14d0
commit
34fc410a0c
2 files changed
+22
No files matched your search
@@ -0,0 +1,3 @@
|
|||||||
|
# Placeholder so the resources directory is tracked by git.
|
||||||
|
# Files put here are flattened into the injection zip (e.g. config.toml ends up
|
||||||
|
# next to the jars in ~/.orangex).
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# See config.md for more information https://github.com/xiaozhou233/JuiceAgent/blob/main/docs/config.md
|
||||||
|
|
||||||
|
[JuiceAgent]
|
||||||
|
Version = 2
|
||||||
|
JuiceAgentNativeLibraryPath = ""
|
||||||
|
|
||||||
|
[JarLoader]
|
||||||
|
# Mode: BuiltIn, CustomJar
|
||||||
|
# BuiltIn: Use the built-in jar loader (recommended, support JuiceAgent-API ( https://github.com/xiaozhou233/JuiceAgent#juiceagent-api ))
|
||||||
|
# CustomJar: Load the Jar directly, without using JuiceAgent-API
|
||||||
|
# For more information, please refer to the documentation: https://github.com/xiaozhou233/JuiceAgent/blob/main/docs/advanced.md#load-custom-api--directly-load-jar
|
||||||
|
Enabled = true
|
||||||
|
Mode = "BuiltIn"
|
||||||
|
|
||||||
|
# InjectionDir only works when Mode is BuiltIn
|
||||||
|
InjectionDir = "./injection"
|
||||||
|
JarPath = "./Loader.jar"
|
||||||
|
EntryClass = "cn.xiaozhou233.orangex.loader.Loader"
|
||||||
|
EntryMethod = "entry"
|
||||||
Reference in new issue
Block a user