fix version string
This commit is contained in:
parent
fe7fed799d
commit
2bf9118fd6
1 changed files with 4 additions and 0 deletions
4
build.py
4
build.py
|
@ -277,6 +277,10 @@ class FontConfig:
|
|||
self.beta = beta
|
||||
|
||||
major, minor = ver.split(".")
|
||||
|
||||
if major.startswith('v'):
|
||||
major = major[1:]
|
||||
|
||||
self.version_str = f"Version {major}.{minor:03}"
|
||||
|
||||
def __load_config(self, use_normal):
|
||||
|
|
Loading…
Reference in a new issue