From 00584fbe07c2093817fe0dbddbc2430c7fd5ccd1 Mon Sep 17 00:00:00 2001 From: Jeshua Lin Date: Sat, 27 Feb 2021 12:50:30 +0800 Subject: [PATCH] add support for Magisk 22 --- system/bin/setupFiles.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/bin/setupFiles.sh b/system/bin/setupFiles.sh index b2bbcb7..0bbeaf8 100644 --- a/system/bin/setupFiles.sh +++ b/system/bin/setupFiles.sh @@ -33,6 +33,11 @@ checkMagisk() { busyboxPath=/data/adb/magisk return 1 ;; + '22'[0-9a-zA-Z]*) # Version 22.x + hosts=/data/adb/modules/hosts/system/etc/hosts + busyboxPath=/data/adb/magisk + return 1 + ;; *) echo -e "\n >Version: $printMagiskVersion - not supported.\n > Exiting..." exit