测试推送(更改import.py导入文本的工作目录)
This commit is contained in:
parent
6695ea478e
commit
f430040a7c
@ -18,9 +18,9 @@ if len(IMPORTLANG) == 0:
|
|||||||
VERSION = "v" + input("版本号?(跳过则记录构建日期)") # 版本號
|
VERSION = "v" + input("版本号?(跳过则记录构建日期)") # 版本號
|
||||||
if len(VERSION) == 1:
|
if len(VERSION) == 1:
|
||||||
VERSION = "构建于" + str(datetime.date.today())
|
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,以我的能力只会分开写了
|
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
|
os.chdir(BUILD_PATH) # MDR留:抄的qwq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user