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
fix
This commit is contained in:
@@ -6,4 +6,4 @@
|
||||
com.google.android.gms
|
||||
io.github.vvb2060.keyattestation
|
||||
io.github.vvb2060.mahoshojo
|
||||
icu.nullptr.nativetest
|
||||
icu.nullptr.nativetest
|
||||
|
||||
@@ -7,4 +7,4 @@ oneplus
|
||||
coloros
|
||||
com.android.patch
|
||||
me.bmax.apatch
|
||||
me.garfieldhan.apatch.next
|
||||
me.garfieldhan.apatch.next
|
||||
|
||||
@@ -51,10 +51,9 @@ COMPATH="$MODPATH/common"
|
||||
CONFIG_DIR="/data/adb/tricky_store/target_list_config"
|
||||
SCRIPT_DIR="/data/adb/tricky_store"
|
||||
MODNAME=$(grep '^id=' "$MODPATH/module.prop" | awk -F= '{print $2}' | xargs)
|
||||
EXCLUDE=$(grep -vE '^#|^$' "$CONFIG_DIR/EXLUDE")
|
||||
ADDITION=$(grep -vE '^#|^$' "$CONFIG_DIR/ADDITION")
|
||||
|
||||
add_exclude() {
|
||||
EXCLUDE=$(grep -vE '^#|^$' "$CONFIG_DIR/EXCLUDE")
|
||||
for app in $EXCLUDE; do
|
||||
if ! grep -qx "$app" $COMPATH/EXCLUDE; then
|
||||
echo "$app" >> $COMPATH/EXCLUDE
|
||||
@@ -64,6 +63,7 @@ add_exclude() {
|
||||
}
|
||||
|
||||
add_addition() {
|
||||
ADDITION=$(grep -vE '^#|^$' "$CONFIG_DIR/ADDITION")
|
||||
for app in $ADDITION; do
|
||||
if ! grep -qx "$app" $COMPATH/ADDITION; then
|
||||
echo "$app" >> $COMPATH/ADDITION
|
||||
|
||||
Reference in New Issue
Block a user