albertosottile / darkdetect

Detect OS Dark Mode from Python
Other
171 stars 18 forks source link

Update _mac_detect.py #41

Open Gdalik opened 3 months ago

Gdalik commented 3 months ago

Eliminates the WARNING message from PyInstaller: WARNING: Ignoring AppKit.framework/AppKit imported from [..]/darkdetect/_mac_detect.py - only basenames are supported with ctypes imports!