测试推送(更改import.py导入文本的工作目录)

This commit is contained in:
AnXing233 2025-04-21 10:43:36 +08:00
parent 6695ea478e
commit f430040a7c

View File

@ -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