Added KernelSU support in customize.sh

The module should be installable from the recovery if the data is not encrypted so the check is removed.
This commit is contained in:
snake-4
2024-03-03 19:42:51 +01:00
parent fedde123c8
commit 481b929bbe

View File

@@ -1,17 +1,7 @@
SKIPUNZIP=1 SKIPUNZIP=1
DEBUG=@DEBUG@
SONAME=@SONAME@ SONAME=@SONAME@
if [ "$BOOTMODE" ] && [ "$APATCH" ]; then
ui_print "- Installing from APatch app"
else
ui_print "*********************************************************"
ui_print "! Install from recovery is not supported"
ui_print "! Please install from APatch app"
abort "*********************************************************"
fi
VERSION=$(grep_prop version "${TMPDIR}/module.prop") VERSION=$(grep_prop version "${TMPDIR}/module.prop")
ui_print "- Installing $SONAME $VERSION" ui_print "- Installing $SONAME $VERSION"