From 05e62f81e84e17ab38a7b52adce2e451de49eff6 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sat, 22 Aug 2020 15:19:33 +0200 Subject: [PATCH] Added icon on taskbar for Windows --- deemix-pyweb.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deemix-pyweb.py b/deemix-pyweb.py index 3668bb9..5b05a0a 100644 --- a/deemix-pyweb.py +++ b/deemix-pyweb.py @@ -18,6 +18,11 @@ from deemix.utils.localpaths import getConfigFolder server_lock = Lock() +if sys.platform == "win32": + import ctypes + myappid = 'RemixDev.deemix' + ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid) + class LoginWindow(QDialog): class CustomPage(QWebEnginePage): def acceptNavigationRequest(self, url, type, main):