haha
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user