diff --git a/resources/.gitkeep b/resources/.gitkeep new file mode 100644 index 0000000..0182af2 --- /dev/null +++ b/resources/.gitkeep @@ -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). diff --git a/resources/config.toml b/resources/config.toml new file mode 100644 index 0000000..f2e9351 --- /dev/null +++ b/resources/config.toml @@ -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"