perf: 优化webui和主程序更新的协调

fix: 修复某些请求不能正确应用代理的问题
This commit is contained in:
Soulter
2025-01-21 01:08:15 +08:00
parent 529cd64d82
commit 5dd1488b5d
15 changed files with 67 additions and 50 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ class AstrBotUpdator(RepoZipUpdator):
def __init__(self, repo_mirror: str = "") -> None:
super().__init__(repo_mirror)
self.MAIN_PATH = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "../../"))
self.ASTRBOT_RELEASE_API = "https://api.github.com/repos/Soulter/AstrBot/releases"
self.ASTRBOT_RELEASE_API = "https://api.soulter.top/releases"
def terminate_child_processes(self):
try: