From b6b95988e525a68ea7426ecc9690b18a1b3bbfe8 Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Mon, 21 Sep 2026 00:26:30 +0800 Subject: feat(m6c): 完成江南村庄中文交付 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 完成江南村庄场景、角色表现和中文界面的 M6c 交付范围。 新增 CJK 字形图集、中文文案与运行时加载,补充民居情境交互和确定性村庄美术表现。 更新资源复制与 Linux/macOS 打包校验,加入 188 字符清单、资源许可说明和对应原型测试。 补充江南美术方向与 M6c 交付说明,并保持原有模拟内核和桌面构建入口不变。 --- scripts/m6c-package.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'scripts/m6c-package.sh') diff --git a/scripts/m6c-package.sh b/scripts/m6c-package.sh index d887ea6..89ae6a4 100755 --- a/scripts/m6c-package.sh +++ b/scripts/m6c-package.sh @@ -46,6 +46,25 @@ else fi fi +for asset in Assets/cjk-glyph-atlas.png Assets/cjk-glyphs.txt; do + if [[ ! -s "$APP_DIR/$asset" ]]; then + printf 'Required CJK asset is missing from the Linux package: %s\n' "$APP_DIR/$asset" >&2 + exit 1 + fi +done + +mapfile -t cjk_manifest_lines < "$APP_DIR/Assets/cjk-glyphs.txt" +if [[ "${#cjk_manifest_lines[@]}" -ne 188 ]]; then + printf 'Packaged CJK manifest contains %s lines; expected 188: %s\n' "${#cjk_manifest_lines[@]}" "$APP_DIR/Assets/cjk-glyphs.txt" >&2 + exit 1 +fi +for cjk_manifest_line in "${cjk_manifest_lines[@]}"; do + if [[ ${#cjk_manifest_line} -ne 1 ]]; then + printf 'Packaged CJK manifest contains a line that is not one character: %s\n' "$APP_DIR/Assets/cjk-glyphs.txt" >&2 + exit 1 + fi +done + cp "$SCRIPT_DIR/m6c-run.sh" "$PACKAGE_ROOT/run-living-village.sh" chmod +x "$PACKAGE_ROOT/run-living-village.sh" cp "$REPO_ROOT/README.md" "$PACKAGE_ROOT/README.md" -- cgit v1.2.3