We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a43c643 commit 012eb08Copy full SHA for 012eb08
1 file changed
activity_browser/__main__.py
@@ -9,8 +9,9 @@
9
from qtpy.QtCore import Qt
10
11
# this will enable the AB icon to show in the taskbar under Windows 11 (instead of the default python icon)
12
-import ctypes
13
-ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID("company.app.1")
+if sys.platform == "win32":
+ import ctypes
14
+ ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID("company.app.1")
15
16
from activity_browser import application
17
from activity_browser.ui import icons
0 commit comments