Skip to content

The only downloader you need. 下载器的集大成者。

fix(platform): 修复Windows 10版本检测逻辑

XiaoYouChR82c289eef78b
diff --git a/app/supports/config.py b/app/supports/config.py
index 83b32b56..e9412651 100644
--- a/app/supports/config.py
+++ b/app/supports/config.py
@@ -38,8 +38,7 @@ def isGreaterEqualWin10():
def isWin10():
- cv = QOperatingSystemVersion.current()
- return sys.platform == "win32" and cv.majorVersion() >= 10
+ isGreaterEqualWin10() and sys.getwindowsversion().build < 22000
def isLessThanWin10():