Fix version checking (#4329)

https://github.com/Neargye/semver

* Use semver library for version downgrade checking

* Add test validating our current version is valid semver
This commit is contained in:
pajlada
2023-01-26 19:22:48 +01:00
committed by GitHub
parent ff9f63c5e0
commit bf5a5b839c
11 changed files with 981 additions and 33 deletions
+3
View File
@@ -107,6 +107,9 @@ AboutPage::AboutPage()
addLicense(form.getElement(), "magic_enum",
"https://github.com/Neargye/magic_enum",
":/licenses/magic_enum.txt");
addLicense(form.getElement(), "semver",
"https://github.com/Neargye/semver",
":/licenses/semver.txt");
}
// Attributions