Fix: Renamed EliteRom's module apk detection to work on them

This commit is contained in:
Hassan Mirza 2023-12-18 17:09:17 +05:00 committed by HassanMirza01
parent 506d939095
commit fdef1ba443

View File

@ -27,13 +27,15 @@ if [ -d "/product/app/XiaomiEUInject" ]; then
ui_print "- XiaomiEUInject app removed." ui_print "- XiaomiEUInject app removed."
fi fi
if [ -d "/system/app/XInjectModule" ]; then # Remove EliteRoms app
directory="$MODPATH/system/app/XInjectModule" if [ -d "/system/app/EliteDevelopmentModule" ]; then
directory="$MODPATH/system/app/EliteDevelopmentModule"
[ -d "$directory" ] || mkdir -p "$directory" [ -d "$directory" ] || mkdir -p "$directory"
touch "$directory/.replace" touch "$directory/.replace"
ui_print "- XInjectModule app removed." ui_print "- EliteDevelopmentModule app removed."
fi fi