Add mica on windows

This commit is contained in:
Lncvrt committed 2026-08-20 20:28:57 -07:00
1 parent 465dee1893
commit 5ebc3cf56f
2 files changed
+7 -1

No files matched your search

+5
View File
@@ -8,6 +8,7 @@ import gzip
import zlib
import pyperclip
import hashlib
from winmica import EnableMica, BackdropType, is_mica_supported
MAC_SAVE_KEY = (
b"\x69\x70\x75\x39\x54\x55\x76\x35\x34\x79\x76\x5d\x69\x73\x46\x4d"
@@ -95,6 +96,10 @@ class MainWindow(QMainWindow):
super().__init__()
self.setWindowTitle("GDUtils")
self.setGeometry(100, 100, 400, 300)
self.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground, True)
if is_mica_supported():
hwnd = int(self.winId())
EnableMica(hwnd, BackdropType.MICA)
titleLabel = QLabel("GDUtils")
font = QFont()
+2 -1
View File
@@ -1,2 +1,3 @@
pycryptodome
pyperclip
pyperclip
winmica