v1.2.16 Use OpenRC on Alpine to replace systemctl (Python3-compatible version).

This commit is contained in:
fscarmen
2025-04-07 02:01:40 +00:00
parent 712185c578
commit ee030a8e09
3 changed files with 475 additions and 192 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ check_latest_sing-box() {
# 获取最终版本号
local VERSION=$(wget --no-check-certificate --tries=2 --timeout=3 -qO- https://api.github.com/repos/SagerNet/sing-box/releases | awk -F '["v]' -v var="tag_name.*$FORCE_VERSION" '$0 ~ var {print $5; exit}')
VERSION=${VERSION:-'1.12.0-alpha.23'}
VERSION=${VERSION:-'1.12.0-beta.1'}
echo "$VERSION"
}