From f430040a7ceadc9ea436df2e32a30a69884f67e3 Mon Sep 17 00:00:00 2001 From: AnXing233 <88223023+AnXing233@users.noreply.github.com> Date: Mon, 21 Apr 2025 10:43:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8E=A8=E9=80=81=EF=BC=88?= =?UTF-8?q?=E6=9B=B4=E6=94=B9import.py=E5=AF=BC=E5=85=A5=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E7=9A=84=E5=B7=A5=E4=BD=9C=E7=9B=AE=E5=BD=95=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- translate/import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translate/import.py b/translate/import.py index e0a12f1..6abf93c 100644 --- a/translate/import.py +++ b/translate/import.py @@ -18,9 +18,9 @@ if len(IMPORTLANG) == 0: VERSION = "v" + input("版本号?(跳过则记录构建日期)") # 版本號 if len(VERSION) == 1: VERSION = "构建于" + str(datetime.date.today()) -WEBLATE_PATH = os.path.abspath("../weblate") +WEBLATE_PATH = os.path.abspath("../psoutertale-weblate") BUILD_PATH = os.path.abspath("..") # MDR留:其他有地方不认字符串啊qwq,以我的能力只会分开写了 -SOURCE_DIR = Path("../source").resolve() +SOURCE_DIR = Path("../Petrichor-PSTVL").resolve() # AX留:更改了一些目录(Line 21 & 25),以Petrichor-PSTVL为根目录,psoutertale-weblate为上游仓库名,假设git clone后的文件夹名默认不更改 # 删除过时构建 os.chdir(BUILD_PATH) # MDR留:抄的qwq