mirror of https://github.com/mack-a/v2ray-agent
fix(脚本):修改无法锁定版本问题
parent
ebc2acaafe
commit
bdb221a4ea
|
@ -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 "Github:https://github.com/mack-a/v2ray-agent"
|
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||||
echoContent green "描述:八合一共存脚本\c"
|
echoContent green "描述:八合一共存脚本\c"
|
||||||
showInstallStatus
|
showInstallStatus
|
||||||
|
|
Loading…
Reference in New Issue