Update sb.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2025-09-13 13:19:03 +08:00
committed by GitHub
parent a48edbb18c
commit 87079773a7
+2 -1
View File
@@ -227,7 +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=$(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"
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