1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-04 18:19:54 +00:00

Fix version retrieval procedure

This commit is contained in:
Timur Ismagilov 2023-04-07 15:45:09 +03:00
parent b7be7b0b3a
commit dcf823522a

View File

@ -15,7 +15,7 @@ var Long string
// Short is the human-friendly x.y.z part of the long version string. // Short is the human-friendly x.y.z part of the long version string.
var Short string var Short string
var versionRegexp = regexp.MustCompile(`This is documentation for \*\*Mycorrhiza Wiki\*\* (.*).`) var versionRegexp = regexp.MustCompile(`This is documentation for Mycorrhiza Wiki (.*)\. `)
func init() { func init() {
if b, err := help.Get("en"); err == nil { if b, err := help.Get("en"); err == nil {