From a876efb95f6c86fc6550e6166fb7f46473e88c0c Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sat, 10 Aug 2024 04:35:07 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=90=8E=E8=A6=86?= =?UTF-8?q?=E7=9B=96=E6=96=87=E4=BB=B6=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/updator/astrbot_updator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/updator/astrbot_updator.py b/util/updator/astrbot_updator.py index eccdf2089..bc80a7bd5 100644 --- a/util/updator/astrbot_updator.py +++ b/util/updator/astrbot_updator.py @@ -9,7 +9,7 @@ logger: Logger = LogManager.GetLogger(log_name='astrbot') class AstrBotUpdator(RepoZipUpdator): def __init__(self): - self.MAIN_PATH = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) + 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" def terminate_child_processes(self):