Update uninstall.sh

logic change
This commit is contained in:
KOWX712
2024-11-27 21:21:07 +08:00
parent db6e591010
commit 8801513684

View File

@@ -13,7 +13,7 @@ rm -rf "$SCRIPT_DIR/target_list_config"
rm -f "$SCRIPT_DIR/UpdateTargetList.sh"
rm -f "/data/adb/boot_hash"
if [ -d "$TS" ]; then
if [ -f "$MODPATH/action.sh" ]; then
if [ -f "$TS/action.sh" ]; then
rm -f "$TS/action.sh"
else
rm -rf "$TS/webroot"