This commit is contained in:
KOWX712
2024-12-13 03:44:35 +08:00
parent 2a04b7426d
commit 22bdb3986a
2 changed files with 8 additions and 7 deletions

View File

@@ -8,7 +8,7 @@
###################################################
# Configurable exclude and addition list
# DO NOT remove default package names here
# Don't remove default package names here
###################################################
EXCLUDE="
@@ -39,7 +39,6 @@ ADDITION=$(echo "$ADDITION" | tr '\n' ' ' | sed 's/^ //;s/ $//')
# Add all non-system apps to the target file and remove exclusions
su -c pm list packages -3 </dev/null 2>&1 | cat | awk -F: '{print $2}' | grep -Ev "$EXCLUDE" > /data/adb/tricky_store/target.txt
sleep 1
# Add additional apps to the target file if they are not already present
for app in $ADDITION; do