From 5108f23fe4d23b151f6409df05666d0e4362a677 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Wed, 3 Apr 2019 22:13:38 +0200 Subject: [PATCH] Uninstaller: support Magisk 19.0 --- uninstaller/META-INF/com/google/android/update-binary | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/uninstaller/META-INF/com/google/android/update-binary b/uninstaller/META-INF/com/google/android/update-binary index 004b13d..b248646 100644 --- a/uninstaller/META-INF/com/google/android/update-binary +++ b/uninstaller/META-INF/com/google/android/update-binary @@ -344,6 +344,15 @@ if (is_mounted /magisk); then done fi +if [ -d /data/adb/modules ]; then + for module in NanoDroid NanoDroid_microG NanoDroid_FDroid NanoDroid_BromiteWebView NanoDroid_OsmAnd; do + if [ -d /data/adb/modules/${module} ]; then + ui_print " << uninstalling: ${module}" + rm -rf /magisk/${module} + fi + done +done + ui_print " >> clean up" if (is_mounted /magisk); then