This commit is contained in:
ddrwode
2026-01-24 21:27:32 +08:00
parent 2193f11e03
commit 9371812aa3
2 changed files with 9 additions and 0 deletions

View File

@@ -4185,6 +4185,13 @@ def main():
sys.excepthook = exception_handler
app = QApplication(sys.argv)
# 解决 macOS 上缺失 Segoe UI 字体导致的警告
if sys.platform == "darwin":
font = QFont(".AppleSystemUIFont", 10)
font.setFamilies([".AppleSystemUIFont", "PingFang SC", "Helvetica Neue", "Arial"])
app.setFont(font)
setTheme(Theme.LIGHT)
try:

View File

@@ -5,3 +5,5 @@ loguru>=0.6.0
beautifulsoup4>=4.9.0
curl-cffi>=0.5.0
DrissionPage>=4.0.0
requests>=2.25.0
PyQt-Fluent-Widgets>=1.0.0