Fix magisk script download

This commit is contained in:
matt1432 2022-10-04 17:28:05 -04:00
parent 23fc3329d9
commit cd1447d790

View file

@ -19,7 +19,7 @@ echo "PRODUCT_PACKAGES += \\
rm -R "/srv/src/LINEAGE_19_1/vendor/partner_gms/AuroraStore"
## magisk addon.d script
ADDONDIR="/srv/src/LINEAGE_19_1/out/target/product/lemonadep/system/addon.d/"
ADDONDIR="/srv/src/LINEAGE_19_1/vendor/lineage/prebuilt/common/bin"
mkdir -p $ADDONDIR
curl https://raw.githubusercontent.com/topjohnwu/Magisk/master/scripts/addon.d.sh $ADDONDIR
curl https://raw.githubusercontent.com/topjohnwu/Magisk/master/scripts/addon.d.sh $ADDONDIR/51-magisk.sh
chmod +x $ADDONDIR/51-magisk.sh