mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-27 17:40:36 +00:00
Support ./build.py emulator with an APK argument
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user