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

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