mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
make sure ctypes packages are included
This commit is contained in:
parent
3bdf7bc7a9
commit
f6407b8d4c
1 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ class AnkiQt(QMainWindow):
|
||||||
self.reviewingStarted = False
|
self.reviewingStarted = False
|
||||||
if sys.platform.startswith("darwin"):
|
if sys.platform.startswith("darwin"):
|
||||||
qt_mac_set_menubar_icons(False)
|
qt_mac_set_menubar_icons(False)
|
||||||
|
elif sys.platform.startswith("win32"):
|
||||||
|
# make sure they're picked up on bundle
|
||||||
|
from ctypes import windll, wintypes
|
||||||
ankiqt.mw = self
|
ankiqt.mw = self
|
||||||
self.app = app
|
self.app = app
|
||||||
self.config = config
|
self.config = config
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue