~1.9.5a6.2 pkg

~优化启动提示及配置文件管理部分说明
~修复singboxr本地生成配置文件无法正确拉取在线订阅文件的bug
This commit is contained in:
juewuy
2026-01-27 10:35:13 +08:00
parent 178228d8ec
commit 517675ff53
8 changed files with 17 additions and 17 deletions

View File

@@ -89,6 +89,8 @@ gen_providers_txt(){
ua=${5:-clash.meta}
exclude=${6#\#}
include=${7#\#}
[ -n "$exclude" ] && exclude_ele="\"exclude\": \"$exclude\","
[ -n "$include" ] && include_ele="\"include\": \"$include\","
if [ -n "$(echo $2|grep -E '^./')" ];then
cat >> "$TMPDIR"/providers/providers.json <<EOF
{
@@ -105,8 +107,8 @@ EOF
"path": "./providers/$tag.yaml",
"user_agent": "$ua",
"update_interval": "${interval2}h",
"exclude": "$exclude",
"include": "$include",
$exclude_ele
$include_ele
EOF
fi
#通用部分生成