diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-01-19 11:22:30 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-01-19 11:22:30 +0100 |
| commit | 549931d142bf3904917b099f2c418ca982eb6d77 (patch) | |
| tree | 117a48c6df8cc87972a3f7e5a776cb299f2f7f43 | |
| parent | 1e4d89aac8a6e2932e75687ebfbc1993a15bf143 (diff) | |
| download | tidal-dl-ng-549931d142bf3904917b099f2c418ca982eb6d77.tar.gz | |
✨ Windows taskbar icon workaround with proper app id string.
| -rw-r--r-- | tidal_dl_ng/gui.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tidal_dl_ng/gui.py b/tidal_dl_ng/gui.py index 598a8d9..265aca0 100644 --- a/tidal_dl_ng/gui.py +++ b/tidal_dl_ng/gui.py @@ -2,6 +2,7 @@ import math import sys from collections.abc import Callable +from tidal_dl_ng import __version__ from tidal_dl_ng.dialog import DialogVersion from tidal_dl_ng.helper.path import get_format_template from tidal_dl_ng.helper.tidal import items_results_all, search_results_all, user_media_lists @@ -491,9 +492,8 @@ def gui_activate(tidal: Tidal | None = None): # Make sure Pyinstaller icons are still grouped if not sys.argv[0].endswith(".exe"): # Arbitrary string - ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID( - "CompanyName.ProductName.SubProduct.VersionInformation" - ) + my_app_id: str = "exislow.tidal.dl-ng." + __version__ + ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(my_app_id) window = MainWindow(tidal=tidal) window.show() |
