prevent tspa overwrite

This commit is contained in:
KOWX712
2024-11-14 21:37:32 +08:00
parent cc77b95f5c
commit e9346303ac
2 changed files with 14 additions and 0 deletions

View File

@@ -1,6 +1,11 @@
MODPATH=${0%/*}
SCRIPT_DIR="/data/adb/tricky_store"
# Enable back TSupport-A auto update
if [ -f "/storage/emulated/0/stop-tspa-auto-target" ]; then
rm -f "/storage/emulated/0/stop-tspa-auto-target"
fi
# Remove residue and restore original keybox.
rm -rf "$SCRIPT_DIR/target_list_config"
rm -f "$SCRIPT_DIR/UpdateTargetList.sh"