Merge pull request #178 from HassanMirza01/main

Fix: Renamed EliteRom's module apk detection to work on them
This commit is contained in:
Marcos 2023-12-18 19:01:19 +01:00 committed by GitHub
commit 4b6acccdda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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