[core] Honor `remove` flag for incompatible modules
This commit is contained in:
parent
d85ef90275
commit
d853be4367
|
|
@ -46,7 +46,7 @@ check_android_version() {
|
|||
check_incompatible_module() {
|
||||
MODULEDIR="$(magisk --path)/.magisk/modules"
|
||||
for id in "riru_dreamland" "riru_edxposed" "riru_edxposed_sandhook" "taichi"; do
|
||||
if [ -d "$MODULEDIR/$id" ] && [ ! -f "$MODULEDIR/$id/disable" ]; then
|
||||
if [ -d "$MODULEDIR/$id" ] && [ ! -f "$MODULEDIR/$id/disable" ] && [ ! -f "$MODULEDIR/$id/remove" ]; then
|
||||
ui_print "*********************************************************"
|
||||
ui_print "! Please disable or uninstall incompatible frameworks:"
|
||||
ui_print "! $id"
|
||||
|
|
|
|||
Loading…
Reference in New Issue