Strip version with ~ instead of - (#2076)

This commit is contained in:
AlteredCoder 2023-02-25 20:05:48 +01:00 committed by GitHub
parent 40b5bcb918
commit 01ea78c10e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ func VersionStr() string {
}
func VersionStrip() string {
version := strings.Split(Version, "-")
version := strings.Split(Version, "~")
return version[0]
}