fix: 修复更新器无法下载MAA的异常

This commit is contained in:
DLmaster
2025-04-13 16:46:54 +08:00
parent 4da4b7d552
commit 7e502420fa
8 changed files with 23 additions and 22 deletions

View File

@@ -340,7 +340,7 @@ class MemberManager(QWidget):
for _ in range(3):
try:
response = requests.get(
"https://mirrorchyan.com/api/resources/MAA/latest?user_agent=MaaWpfGui&os=win&arch=x64&channel=stable"
"https://mirrorchyan.com/api/resources/MAA/latest?user_agent=AutoMaaGui&os=win&arch=x64&channel=stable"
)
maa_info = response.json()
break
@@ -372,7 +372,10 @@ class MemberManager(QWidget):
Path(folder),
"MAA",
maa_version,
{"thread_numb": Config.get(Config.update_ThreadNumb)},
{
"mode": "Proxy",
"thread_numb": Config.get(Config.update_ThreadNumb),
},
)
self.downloader.show()
self.downloader.run()