This commit is contained in:
KOWX712
2024-10-27 01:34:30 +08:00
parent c89b112d98
commit dc85dfbe10
3 changed files with 4 additions and 4 deletions

View File

@@ -6,4 +6,4 @@
com.google.android.gms
io.github.vvb2060.keyattestation
io.github.vvb2060.mahoshojo
icu.nullptr.nativetest
icu.nullptr.nativetest

View File

@@ -7,4 +7,4 @@ oneplus
coloros
com.android.patch
me.bmax.apatch
me.garfieldhan.apatch.next
me.garfieldhan.apatch.next

View File

@@ -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