Support ./build.py emulator with an APK argument

This commit is contained in:
topjohnwu
2025-02-28 16:14:07 -08:00
committed by John Wu
parent afbfb81837
commit 494615d9a0
6 changed files with 153 additions and 126 deletions

View File

@@ -84,11 +84,11 @@ test_main() {
adb wait-for-device
# Patch and test debug build
./build.py avd_patch -s "$CF_HOME/init_boot.img" magisk_patched.img
./build.py avd_patch "$CF_HOME/init_boot.img" magisk_patched.img
test_cf debug
# Patch and test release build
./build.py -r avd_patch -s "$CF_HOME/init_boot.img" magisk_patched.img
./build.py -r avd_patch "$CF_HOME/init_boot.img" magisk_patched.img
test_cf release
# Cleanup