Update sb.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2025-12-26 15:13:27 +08:00
committed by GitHub
parent f9fb692c9c
commit 55041ad114
+2 -2
View File
@@ -227,8 +227,8 @@ yellow "1:使用1.10系列之后最新正式版内核 (回车默认)"
yellow "2:使用1.10.7正式版内核"
readp "请选择【1-2】:" menu
if [ -z "$menu" ] || [ "$menu" = "1" ] ; then
sbcore=$(curl -Ls https://data.jsdelivr.com/v1/package/gh/SagerNet/sing-box | grep -Eo '"[0-9.]+",' | sed -n 1p | tr -d '",')
#sbcore="1.12.5"
#sbcore=$(curl -Ls https://data.jsdelivr.com/v1/package/gh/SagerNet/sing-box | grep -Eo '"[0-9.]+",' | sed -n 1p | tr -d '",')
sbcore="1.12.14"
else
sbcore=$(curl -Ls https://data.jsdelivr.com/v1/package/gh/SagerNet/sing-box | grep -Eo '"1\.10[0-9\.]*",' | sed -n 1p | tr -d '",')
fi