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

@ -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