diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-03-26 07:10:01 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-03-26 07:10:01 +0100 |
| commit | 6e050be9d62522e91152aa3c22ca5127bb0462ef (patch) | |
| tree | 720c4d2ad0e1a143f78013220bf425464f73a3b0 /tidal_dl_ng/gui.py | |
| parent | 2340850c8d4eeb05953308b79ffffdf7da59a8fa (diff) | |
| download | tidal-dl-ng-6e050be9d62522e91152aa3c22ca5127bb0462ef.tar.gz | |
✨ Version is correctly shown in PyInstaller running mode. Running the app from source code points to dev config dir (`~/.config/tidal_dl_ng-dev`).
Diffstat (limited to 'tidal_dl_ng/gui.py')
| -rw-r--r-- | tidal_dl_ng/gui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tidal_dl_ng/gui.py b/tidal_dl_ng/gui.py index 92627ca..40711f9 100644 --- a/tidal_dl_ng/gui.py +++ b/tidal_dl_ng/gui.py @@ -4,7 +4,7 @@ from collections.abc import Callable from requests.exceptions import HTTPError -from tidal_dl_ng import version +from tidal_dl_ng import __version__ from tidal_dl_ng.dialog import DialogLogin, DialogPreferences, DialogVersion from tidal_dl_ng.helper.path import get_format_template from tidal_dl_ng.helper.tidal import ( @@ -671,7 +671,7 @@ def gui_activate(tidal: Tidal | None = None): # Make sure Pyinstaller icons are still grouped if not sys.argv[0].endswith(".exe"): # Arbitrary string - my_app_id: str = "exislow.tidal.dl-ng." + version + my_app_id: str = "exislow.tidal.dl-ng." + __version__ ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(my_app_id) window = MainWindow(tidal=tidal) |
