Feat: add inject-via-java-api example with JNI refactor

- Rename JNI class from InjectorNative to Injector in libinject.c

- Add JNI header for cn.xiaozhou233.juiceagent.injector.Injector

- Add inject-via-java-api example with HowToUse.txt and 如何使用.txt
This commit is contained in:
xiaozhou233 committed 2026-08-15 21:51:48 +08:00
1 parent 32e9199d4a
commit a1b0eb8b84
14 files changed
+391 -8

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
[JuiceAgent]
Version = 1
[JuiceAgent.Loader]
JuiceAgentNativeLibraryPath = ""
[JuiceAgent.Modules]
[JuiceAgent.Modules.JarLoader]
Enabled = true
InjectionDir = "./injection"
JarPath = "./demo.jar"
EntryClass = "Example.Main"
EntryMethod = "run"