fix: correct escaped parentheses in menu prompts

fix: 修正菜单提示中的括号转义
This commit is contained in:
fscarmen
2026-05-01 13:26:26 +00:00
parent dbb79a77ad
commit 7ef4b4ee2c
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1387,7 +1387,7 @@ $(${WORK_DIR}/qrencode https://${ARGO_DOMAIN}/${UUID}/auto)
# 显示脚本使用情况数据
hint "\n*******************************************\n"
local STAT=$(wget --no-check-certificate -qO- --timeout=3 "https://stat.cloudflare.now.cc/api/updateStats?script=sing-box-docker.sh")
local STAT=$(wget --no-check-certificate -qO- --timeout=3 "https://stat.cloudflare.now.cc/updateStats?script=sing-box-docker.sh")
[[ "$STAT" =~ \"todayCount\":([0-9]+),\"totalCount\":([0-9]+) ]] && local TODAY="${BASH_REMATCH[1]}" && local TOTAL="${BASH_REMATCH[2]}"
hint "\n 脚本当天运行次数: $TODAY,累计运行次数: $TOTAL \n"
}
@@ -1442,4 +1442,4 @@ case "$ACTION" in
install
# 用 s6-overlay 作为 PID 1 承载守护
exec /init
esac
esac