This commit is contained in:
wasneet 2025-04-21 22:00:38 +08:00
parent 1053ad1b02
commit 3404b95cec

View File

@ -8,12 +8,12 @@ import datetime
from tools import convert_zh_to_tw, import_translation_json
# ========== 配置区域 ==========
IMPORTLANG = input("语言?(跳过则语言默认为zh_CN)") # 語言選項
IMPORTLANG = input("🟢 語言是留空則為zh_CN") # 語言選項
if len(IMPORTLANG) == 0:
IMPORTLANG = "zh_CN"
VERSION = "v" + input("版本号?(跳过则记录构建日期)") # 版本號
VERSION = "v" + input("🟢 版本號是?(留空則為當日日期):") # 版本號
if len(VERSION) == 1:
VERSION = "构建于" + str(datetime.date.today())
VERSION = "build-in-" + str(datetime.date.today())
WEBLATE_PATH = os.path.abspath("../psoutertale-weblate")
SOURCE_DIR = Path("../Petrichor-PSTVL").resolve()
# ==============================