✨ Only notify for a new app version, if app version is != v0.0.0.

This commit is contained in:
Robert Honz
2024-03-28 06:52:11 +01:00
parent dd92f19af6
commit 1ab71a45d3
+2 -1
View File
@@ -121,8 +121,9 @@ __version__ = version_app()
def update_available() -> (bool, ReleaseLatest):
latest_info: ReleaseLatest = latest_version_information()
result: bool = False
version_current: str = "v" + __version__
if "v" + __version__ != latest_info.version:
if version_current != latest_info.version and version_current != "v0.0.0":
result = True
return result, latest_info