Skip to content

Commit 0779c6d

Browse files
authored
Merge branch 'LCA-ActivityBrowser:major' into major
2 parents 273c0b0 + 5d11af4 commit 0779c6d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

activity_browser/__main__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
from qtpy import QtWidgets, QtCore, QtGui
99
from qtpy.QtCore import Qt
1010

11+
# this will enable the AB icon to show in the taskbar under Windows 11 (instead of the default python icon)
12+
if sys.platform == "win32":
13+
import ctypes
14+
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID("activity.browser.1")
15+
1116
from activity_browser import application
1217
from activity_browser.ui import icons
1318

0 commit comments

Comments
 (0)