Fix output of addon.d, and add support for addon.d-v2

This commit is contained in:
topjohnwu
2018-06-21 10:53:49 +08:00
parent 45b0bf5bc5
commit 9a8eeacee8
3 changed files with 89 additions and 48 deletions

View File

@ -120,7 +120,7 @@ SOURCEDMODE=true
cd $MAGISKBIN
# Source the boot patcher
. $COMMONDIR/boot_patch.sh "$BOOTIMAGE"
. ./boot_patch.sh "$BOOTIMAGE"
flash_boot_image new-boot.img "$BOOTIMAGE"
rm -f new-boot.img