✨ Only notify for a new app version, if app version is != v0.0.0.
This commit is contained in:
@@ -121,8 +121,9 @@ __version__ = version_app()
|
|||||||
def update_available() -> (bool, ReleaseLatest):
|
def update_available() -> (bool, ReleaseLatest):
|
||||||
latest_info: ReleaseLatest = latest_version_information()
|
latest_info: ReleaseLatest = latest_version_information()
|
||||||
result: bool = False
|
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
|
result = True
|
||||||
|
|
||||||
return result, latest_info
|
return result, latest_info
|
||||||
|
|||||||
Reference in New Issue
Block a user