mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
detect_mode() more useful information printed
This commit is contained in:
parent
8201ca57cc
commit
54fd59c222
@ -139,6 +139,9 @@ detect_mode () {
|
|||||||
if [ -f /data/adb/magisk/magisk ]; then
|
if [ -f /data/adb/magisk/magisk ]; then
|
||||||
MODE=MAGISK
|
MODE=MAGISK
|
||||||
MODE_TEXT=" > Mode | Magisk | detected"
|
MODE_TEXT=" > Mode | Magisk | detected"
|
||||||
|
elif [ -f /data/magisk/magisk.img ]; then
|
||||||
|
MODE=SYSTEM
|
||||||
|
MODE_TEXT=" > Mode | System | forced [ancient Magisk]"
|
||||||
else
|
else
|
||||||
MODE=SYSTEM
|
MODE=SYSTEM
|
||||||
MODE_TEXT=" > Mode | System | detected"
|
MODE_TEXT=" > Mode | System | detected"
|
||||||
@ -151,7 +154,7 @@ detect_mode () {
|
|||||||
MODE_TEXT=" > Mode | System | forced"
|
MODE_TEXT=" > Mode | System | forced"
|
||||||
else
|
else
|
||||||
MODE=MAGISK
|
MODE=MAGISK
|
||||||
MODE_TEXT=" > Mode | Magisk | forced"
|
MODE_TEXT=" > Mode | Magisk | forced [device in BOOTMODE]"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user