2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

NanoDroid-Overlay: fix (re-)creating overlays when flashing through Magisk Manager

This commit is contained in:
Christopher Roy Bratusek 2018-09-09 14:30:03 +02:00
parent 656d368c44
commit 0c674a70d3
2 changed files with 9 additions and 2 deletions

View File

@ -13,6 +13,9 @@
* PatcherAddon
* fix DalvikVM crash
* NanoDroid-Overlay
* fix (re-)creating overlays when flashing through Magisk Manager
* Uninstaller
* fix error in error-printing (sic!)
@ -35,6 +38,10 @@
### Updates
* automatic
* New Pipe (0.14.0)
* QKSMS (3.5.1)
* manual
* microG GmsCore (0.2.5.12879-152-custom)

View File

@ -6,10 +6,10 @@ export MODPATH=@MODPATH@
if [ -z "${MODPATH}" ]; then
OVERLAY_PATH=""
NO_MAGISK=1
elif [ -d "${MODPATH}" ]; then
OVERLAY_PATH="${MODPATH}"
elif [ -d "/dev/tmp/magisk_img/$(basename "${MODPATH}")" ]; then
OVERLAY_PATH="/dev/tmp/magisk_img/$(basename "${MODPATH}")"
elif [ -d "${MODPATH}" ]; then
OVERLAY_PATH="${MODPATH}"
else
echo "couldn't find NanoDroid!"
exit 1