✨ Windows taskbar icon workaround with proper app id string.
This commit is contained in:
+3
-3
@@ -2,6 +2,7 @@ import math
|
|||||||
import sys
|
import sys
|
||||||
from collections.abc import Callable
|
from collections.abc import Callable
|
||||||
|
|
||||||
|
from tidal_dl_ng import __version__
|
||||||
from tidal_dl_ng.dialog import DialogVersion
|
from tidal_dl_ng.dialog import DialogVersion
|
||||||
from tidal_dl_ng.helper.path import get_format_template
|
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
|
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
|
# Make sure Pyinstaller icons are still grouped
|
||||||
if not sys.argv[0].endswith(".exe"):
|
if not sys.argv[0].endswith(".exe"):
|
||||||
# Arbitrary string
|
# Arbitrary string
|
||||||
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(
|
my_app_id: str = "exislow.tidal.dl-ng." + __version__
|
||||||
"CompanyName.ProductName.SubProduct.VersionInformation"
|
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(my_app_id)
|
||||||
)
|
|
||||||
|
|
||||||
window = MainWindow(tidal=tidal)
|
window = MainWindow(tidal=tidal)
|
||||||
window.show()
|
window.show()
|
||||||
|
|||||||
Reference in New Issue
Block a user