Darkdetect 0.5.1
A few minor bug fixes:
- Windows: the package could have raised
FileNotFoundError
in some headless systems.- In those cases, we catch the exception and return
None
as if the dark mode were not available
- In those cases, we catch the exception and return
- macOS: fix use of the package in hardened programs (see PR #15 for the bug report)
- Windows: precautionary changes to support Windows 11 (PR #16 by @hussain5416)