You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
Update UpdateTargetList.sh
This commit is contained in:
@@ -38,7 +38,7 @@ ADDITION=$(echo "$ADDITION" | tr '\n' ' ' | sed 's/^ //;s/ $//')
|
||||
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 extra package names if any app excluded by the script (DO NOT remove default package here)
|
||||
# Add additional apps to the target file if they are not already present
|
||||
for app in $ADDITION; do
|
||||
if ! grep -qx "$app" /data/adb/tricky_store/target.txt; then
|
||||
echo "$app" >> /data/adb/tricky_store/target.txt
|
||||
|
||||
Reference in New Issue
Block a user