From 8376e9f166590f68192cd65a308327b65d2c3d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=90=E6=AE=87?= <95160953+xishang0128@users.noreply.github.com> Date: Fri, 15 Dec 2023 13:21:26 +0800 Subject: [PATCH] Update bm7.sh --- resouces/bm7.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resouces/bm7.sh b/resouces/bm7.sh index 8fad7b517a..507dcb23dc 100755 --- a/resouces/bm7.sh +++ b/resouces/bm7.sh @@ -34,7 +34,7 @@ for ((i = 0; i < ${#list[@]}; i++)); do mkdir -p ${list[i]} # 归类 # android package - if [ -n "$(cat ./rule/Clash/${list[i]}/${list[i]}.yaml | grep -v '#' | grep PROCESS | grep -v '\.exe' | grep '\.')" ]; then + if [ -n "$(cat ./rule/Clash/${list[i]}/${list[i]}.yaml | grep -v '#' | grep PROCESS | grep -v '\.exe' | grep -v '/' | grep '\.')" ]; then cat ./rule/Clash/${list[i]}/${list[i]}.yaml | grep -v '#' | grep PROCESS | grep -v '\.exe' | grep '\.' | sed 's/ - PROCESS-NAME,//g' > ${list[i]}/package.json fi # process name