mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 14:49:25 +08:00
opt: tool.bat
This commit is contained in:
@@ -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
|
||||
@@ -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%
|
||||
|
||||
Reference in New Issue
Block a user