From 549931d142bf3904917b099f2c418ca982eb6d77 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Fri, 19 Jan 2024 11:22:30 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Windows=20taskbar=20icon=20workarou?= =?UTF-8?q?nd=20with=20proper=20app=20id=20string.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/gui.py | 6 +++--- 1 file 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()