2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-02 03:40:13 +00:00

CommonInstaller: fix installation through Magisk Manager

This commit is contained in:
Christopher Roy Bratusek 2018-07-11 22:25:01 +02:00
parent 7ae60be257
commit 9b4a381ce4

View File

@ -500,7 +500,7 @@ magisk_install_preinst () {
rm -f /data/adb/.nanodroid-patcher
fi
rm -rf "${RESTORE_PATH}"
${BOOTMODE} || rm -rf "${MODPATH}"
for dir in app etc priv-app bin; do
mkdir -p "${MODPATH}/system/${dir}"