[skip ci] WIP

This commit is contained in:
Yann Stepienik
2026-08-18 19:19:36 +01:00
parent 3166ef6942
commit 8a0b5e9fd6
+6
View File
@@ -110,6 +110,12 @@ func checkVersion() {
return
}
// never notify about a prerelease/unstable build unless the user opted into beta updates
if latest.Prerelease() != "" && !utils.GetMainConfig().BetaUpdates {
utils.Log("Latest version " + check.Latest + " is a prerelease, ignoring (not on beta updates)")
return
}
// only notify on a major or minor bump, ignore patches
if current.Compare(latest) == -1 && (current.Major() != latest.Major() || current.Minor() != latest.Minor()) {
utils.Log("New version available: " + check.Latest)