mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
Refactor adb patching and emulator setup
Add support for patching boot images directly via adb with the build.py script.
This commit is contained in:
@@ -87,7 +87,7 @@ test_main() {
|
||||
local images=()
|
||||
for apk in "${apks[@]}"; do
|
||||
images+=("magisk-$(basename $apk .apk).img")
|
||||
./build.py -v avd_patch --apk "$apk" "$CF_HOME/init_boot.img" "${images[-1]}"
|
||||
./build.py -v patch --apk "$apk" "$CF_HOME/init_boot.img" "${images[-1]}"
|
||||
done
|
||||
|
||||
for i in "${!apks[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user