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/macos-package.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'scripts/macos-package.sh') diff --git a/scripts/macos-package.sh b/scripts/macos-package.sh index 10c80b8..3255898 100755 --- a/scripts/macos-package.sh +++ b/scripts/macos-package.sh @@ -270,6 +270,24 @@ for rid in osx-arm64 osx-x64; do cp "$REPO_ROOT/docs/assets-and-licenses.md" "$app_dir/Contents/Resources/ASSETS-AND-LICENSES.md" chmod +x "$app_dir/Contents/MacOS/LivingVillage" "$app_dir/Contents/MacOS/LivingVillage.Desktop" + for asset in cjk-glyph-atlas.png cjk-glyphs.txt; do + if [[ ! -s "$app_dir/Contents/MacOS/Assets/$asset" ]]; then + printf 'BLOCKED: required CJK asset is missing for %s: %s\n' "$rid" "$app_dir/Contents/MacOS/Assets/$asset" >&2 + exit 1 + fi + done + mapfile -t cjk_manifest_lines < "$app_dir/Contents/MacOS/Assets/cjk-glyphs.txt" + if [[ "${#cjk_manifest_lines[@]}" -ne 188 ]]; then + printf 'BLOCKED: packaged CJK manifest for %s contains %s lines; expected 188\n' "$rid" "${#cjk_manifest_lines[@]}" >&2 + exit 1 + fi + for cjk_manifest_line in "${cjk_manifest_lines[@]}"; do + if [[ ${#cjk_manifest_line} -ne 1 ]]; then + printf 'BLOCKED: packaged CJK manifest for %s contains a line that is not one character\n' "$rid" >&2 + exit 1 + fi + done + if ! file -b "$app_dir/Contents/MacOS/LivingVillage.Desktop" >> "$mach_o_report"; then printf 'BLOCKED: failed to inspect bundled apphost for %s\n' "$rid" >&2 exit 1 -- cgit v1.2.3