Skip to content

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

Fix: Qt 6.9.1 无法启动

XiaoYouChRb373a2d0efba
diff --git a/app/common/methods.py b/app/common/methods.py
index 29f931e9..f4db50d6 100644
--- a/app/common/methods.py
+++ b/app/common/methods.py
@@ -42,7 +42,7 @@ def isGreaterEqualWin11():
def isAbleToShowToast():
return sys.platform == 'win32' and sys.getwindowsversion().build >= 16299 # 高于 Win10 1709
-def loadPlugins(mainWindow, directory="{}/plugins".format(QApplication.applicationDirPath())):
+def loadPlugins(mainWindow, directory="{}/plugins".format(cfg.appPath)):
try:
for filename in os.listdir(directory):
if filename.endswith(".py") or filename.endswith(".pyd") or filename.endswith(".so"):