Check if app is installed

This commit is contained in:
chiteroman 2024-10-25 00:11:35 +02:00
parent a4d268cf3d
commit 7bc8d991dc

View File

@ -17,6 +17,8 @@ if [ -d "$SNFix" ]; then
touch "$SNFix"/remove touch "$SNFix"/remove
fi fi
rm -rf "$MODPATH"/system
# Uninstall conflict apps # Uninstall conflict apps
APPS=" APPS="
/system/app/EliteDevelopmentModule /system/app/EliteDevelopmentModule
@ -28,6 +30,7 @@ APPS="
" "
for APP in $APPS; do for APP in $APPS; do
if [ -d "$APP" ]; then
HIDEPATH="$MODPATH$APP" HIDEPATH="$MODPATH$APP"
mkdir -p "$HIDEPATH" mkdir -p "$HIDEPATH"
if [ "$KSU" = "true" ] || [ "$APATCH" = "true" ]; then if [ "$KSU" = "true" ] || [ "$APATCH" = "true" ]; then
@ -35,6 +38,7 @@ for APP in $APPS; do
else else
touch "$HIDEPATH"/.replace touch "$HIDEPATH"/.replace
fi fi
fi
done done
# Conditional early sensitive properties # Conditional early sensitive properties