mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 21:15:56 +08:00
Feat: add Enabled flag for JarLoader module
- libagent: gate JarLoaderService::onLoaded on the JarLoader.Enabled key (default false) so the module can be turned off from config - examples: set Enabled = true in inject-via-java-api, load-via-injector-exe and retransform-class config.toml
This commit is contained in:
1 parent
f38a28e8b3
commit
56a1c32f49
4 files changed
+11
No files matched your search
@@ -9,6 +9,7 @@ JuiceAgentNativeLibraryPath = ""
|
||||
# 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
|
||||
|
||||
@@ -9,6 +9,7 @@ JuiceAgentNativeLibraryPath = ""
|
||||
# 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
|
||||
|
||||
@@ -9,6 +9,7 @@ JuiceAgentNativeLibraryPath = ""
|
||||
# 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
|
||||
|
||||
Reference in new issue
Block a user