mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 13:05:53 +08:00
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:
1 parent
32e9199d4a
commit
a1b0eb8b84
14 files changed
+391
-8
No files matched your search
@@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
echo === Building injector jar ===
|
||||
pushd injector
|
||||
call build.bat
|
||||
popd
|
||||
if errorlevel 1 goto :error
|
||||
|
||||
echo.
|
||||
echo === Building target jar ===
|
||||
pushd target
|
||||
call build.bat
|
||||
popd
|
||||
if errorlevel 1 goto :error
|
||||
|
||||
echo.
|
||||
echo Build finished: JuiceAgent-JavaInjector-1.0-SNAPSHOT.jar and target.jar are ready.
|
||||
goto :end
|
||||
|
||||
:error
|
||||
echo Build failed.
|
||||
exit /b 1
|
||||
|
||||
:end
|
||||
Reference in new issue
Block a user