mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-03 09:47:31 +03:00
Update sing-box core, refactor MASQUE, update XHTTP
This commit is contained in:
@@ -112,9 +112,7 @@ func IsValid(versionName string) bool {
|
||||
}
|
||||
|
||||
func Parse(versionName string) (version Version) {
|
||||
if strings.HasPrefix(versionName, "v") {
|
||||
versionName = versionName[1:]
|
||||
}
|
||||
versionName = strings.TrimPrefix(versionName, "v")
|
||||
if strings.Contains(versionName, "-") {
|
||||
parts := strings.Split(versionName, "-")
|
||||
versionName = parts[0]
|
||||
|
||||
Reference in New Issue
Block a user