mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
14 lines
286 B
Python
14 lines
286 B
Python
import os
|
|
|
|
|
|
def __windows_taskbar_compat():
|
|
"""Enable icon and taskbar grouping for Windows 7+"""
|
|
|
|
import ctypes
|
|
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(
|
|
u"pyblish_pype")
|
|
|
|
|
|
def init():
|
|
if os.name == "nt":
|
|
__windows_taskbar_compat()
|