fix(脚本): 修复添加账户时错误配置tuic引起的sing-box启动失败问题

pull/798/head
mack-a 2023-10-16 22:57:01 +08:00
parent 8eae351584
commit 68dc7554c5
1 changed files with 2 additions and 2 deletions

View File

@ -5171,7 +5171,7 @@ addUserXray() {
clients=$(jq -r ".inbounds[0].users = ${clients}" "${singBoxConfigPath}config/tuic.json") clients=$(jq -r ".inbounds[0].users = ${clients}" "${singBoxConfigPath}config/tuic.json")
echo "${hysteriaResult}" | jq . >"${singBoxConfigPath}config/tuic.json" echo "${clients}" | jq . >"${singBoxConfigPath}config/tuic.json"
fi fi
done done
@ -8153,7 +8153,7 @@ menu() {
cd "$HOME" || exit cd "$HOME" || exit
echoContent red "\n==============================================================" echoContent red "\n=============================================================="
echoContent green "作者mack-a" echoContent green "作者mack-a"
echoContent green "当前版本v2.11.4" echoContent green "当前版本v2.11.5"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent" echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c" echoContent green "描述:八合一共存脚本\c"
showInstallStatus showInstallStatus