Add beta attribute to FontConfig for version handling

This commit is contained in:
subframe7536 2025-02-13 19:13:44 +08:00
parent 8c6ad290ca
commit 97745be981

View file

@ -272,6 +272,7 @@ class FontConfig:
self.__load_args(args)
ver = FONT_VERSION
self.beta = None
if "-" in FONT_VERSION:
ver, beta = FONT_VERSION.split("-")
self.beta = beta