mirror of https://github.com/mack-a/v2ray-agent
fix(脚本): 修复无法下载sing-box内核问题
parent
5b7e1585bc
commit
e1cc65bad0
|
@ -2029,8 +2029,8 @@ installSingBox() {
|
||||||
echoContent skyBlue "\n进度 $1/${totalProgress} : 安装sing-box"
|
echoContent skyBlue "\n进度 $1/${totalProgress} : 安装sing-box"
|
||||||
|
|
||||||
if [[ -z "${singBoxConfigPath}" ]]; then
|
if [[ -z "${singBoxConfigPath}" ]]; then
|
||||||
# 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=20" | jq -r ".[]|select (.prerelease==${prereleaseStatus})|.tag_name" | head -1)
|
||||||
|
|
||||||
echoContent green " ---> sing-box版本:${version}"
|
echoContent green " ---> sing-box版本:${version}"
|
||||||
|
|
||||||
|
@ -8741,7 +8741,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.2.8"
|
echoContent green "当前版本:v3.2.9"
|
||||||
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