Lock sing-box max version (#10091)

* Refactor Semantic Version

* Lock max version

* Allow sing-box update to pre-release
This commit is contained in:
DHR60
2026-09-04 02:17:31 +00:00
committed by GitHub
parent fed59a7313
commit 4a59c7f4d6
5 changed files with 205 additions and 135 deletions
@@ -229,6 +229,7 @@ public sealed class CoreInfoManager
DownloadUrlLinuxLoong64 = urlSingbox + "/download/{0}/sing-box-{1}-linux-loong64.tar.gz",
DownloadUrlOSX64 = urlSingbox + "/download/{0}/sing-box-{1}-darwin-amd64.tar.gz",
DownloadUrlOSXArm64 = urlSingbox + "/download/{0}/sing-box-{1}-darwin-arm64.tar.gz",
LockedMaxVersion = new SemanticVersion(1, 14, int.MaxValue),
Match = "sing-box",
VersionArg = "version",
},