From 2d29726c18ca644f8158ca67e175949be4fa9c12 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sun, 28 Jul 2024 11:55:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B8=A6=E7=A9=BA?= =?UTF-8?q?=E6=A0=BC=E8=B7=AF=E5=BE=84=E5=AF=BC=E8=87=B4=E7=9A=84=E9=87=8D?= =?UTF-8?q?=E5=90=AF=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/updator/astrbot_updator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/util/updator/astrbot_updator.py b/util/updator/astrbot_updator.py index c13087c33..a055f0c04 100644 --- a/util/updator/astrbot_updator.py +++ b/util/updator/astrbot_updator.py @@ -34,6 +34,7 @@ class AstrBotUpdator(RepoZipUpdator): if delay: time.sleep(delay) py = sys.executable self.terminate_child_processes() + py = py.replace(" ", "\\ ") os.execl(py, py, *sys.argv) def check_update(self, url: str, current_version: str) -> ReleaseInfo: