remove unused logic

This commit is contained in:
KOWX712
2024-12-07 21:19:19 +08:00
parent f576b4bb2f
commit befa011c15
2 changed files with 4 additions and 6 deletions
+2 -4
View File
@@ -21,11 +21,9 @@ if [ -d "$MODPATH/common/temp" ]; then
if [ "$KSU" ] || [ "$APATCH" ]; then
rm -f "$MODPATH/module.prop"
fi
if [ ! -d "$HIDE_DIR" ]; then
if [[ "$MODPATH" != "$HIDE_DIR" ]]; then
rm -rf "$HIDE_DIR"
mv "$MODPATH" "$HIDE_DIR"
elif [[ "$MODPATH" != "$HIDE_DIR" ]]; then
rm -rf "$MODPATH"
exit 0
fi
MODPATH="$HIDE_DIR"
if [ -f "$MODPATH/action.sh" ]; then