fix(脚本):修改无法锁定版本问题

pull/909/head^2
mack-a 2024-01-08 15:22:50 +08:00
parent ebc2acaafe
commit bdb221a4ea
1 changed files with 2 additions and 2 deletions

View File

@ -1993,7 +1993,7 @@ installSingBox() {
echoContent skyBlue "\n进度 $1/${totalProgress} : 安装sing-box" echoContent skyBlue "\n进度 $1/${totalProgress} : 安装sing-box"
if [[ -z "${singBoxConfigPath}" ]]; then if [[ -z "${singBoxConfigPath}" ]]; then
version="1.7.8" version="v1.7.8"
# version=$(curl -s "https://api.github.com/repos/SagerNet/sing-box/releases?per_page=10" | jq -r ".[]|select (.prerelease==${prereleaseStatus})|.tag_name" | head -1) # version=$(curl -s "https://api.github.com/repos/SagerNet/sing-box/releases?per_page=10" | jq -r ".[]|select (.prerelease==${prereleaseStatus})|.tag_name" | head -1)
echoContent green " ---> sing-box版本:${version}" echoContent green " ---> sing-box版本:${version}"
@ -8453,7 +8453,7 @@ menu() {
cd "$HOME" || exit cd "$HOME" || exit
echoContent red "\n==============================================================" echoContent red "\n=============================================================="
echoContent green "作者mack-a" echoContent green "作者mack-a"
echoContent green "当前版本v3.1.27" echoContent green "当前版本v3.1.28"
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