1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 16:29:25 +08:00

opt: tool.bat

This commit is contained in:
0O0o0oOoO00
2025-06-08 11:53:14 +08:00
parent 54d5d018f0
commit e81f282bfb
2 changed files with 4 additions and 3 deletions

View File

@@ -4,4 +4,5 @@ GAME_LIB_PATH=/data/app/~~ts83BXGRmrLa3nH4jYaygg==/com.bilibili.azurlane-BzrEBkl
UPLOAD_DIR=/data/tmp
LINUX_CROSS_COMPILER_ROOT_DIR=D:/x86_64-pc-linux-gnu
LINUX_CROSS_COMPILER_PREFIX=x86_64-pc-linux-gnu-
BIN_DIR=./bin/Debug-Android-x86
BIN_DIR=./bin
ARCH=x86

View File

@@ -12,9 +12,9 @@ if "%1" == "push" (
adb -s %SERIAL% shell "chmod +x %UPLOAD_DIR%/crack_logger"
) else if "%2" == "cracker" (
if "%3" == "release" (
adb -s %SERIAL% push %BIN_DIR%/libcracker.so %GAME_LIB_PATH%
adb -s %SERIAL% push %BIN_DIR%/Release-Android-%ARCH%/libcracker.so %GAME_LIB_PATH%
) else (
adb -s %SERIAL% push %BIN_DIR%/libcracker.so "%GAME_LIB_PATH%"
adb -s %SERIAL% push %BIN_DIR%/Debug-Android-%ARCH%/libcracker.so "%GAME_LIB_PATH%"
)
) else if "%2" == "patcher" (
adb -s %SERIAL% push %BIN_DIR%/patchelf %UPLOAD_DIR%