diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-03-28 06:52:11 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-03-28 06:52:11 +0100 |
| commit | 1ab71a45d385cc51d65ab04d71989e2906588509 (patch) | |
| tree | 0e2e2c38c367fd55f3362908af75a4db970ba6b0 | |
| parent | dd92f19af686622768e1e9fbdb74e57e343eede8 (diff) | |
| download | tidal-dl-ng-1ab71a45d385cc51d65ab04d71989e2906588509.tar.gz | |
✨ Only notify for a new app version, if app version is != v0.0.0.
| -rw-r--r-- | tidal_dl_ng/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tidal_dl_ng/__init__.py b/tidal_dl_ng/__init__.py index 35c8515..37b6915 100644 --- a/tidal_dl_ng/__init__.py +++ b/tidal_dl_ng/__init__.py @@ -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 |
