From 0b4306938f75430ed1f44c5eb3bf4585cdfa9a9b Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Sun, 20 Sep 2026 16:33:08 +0800 Subject: feat(m6c): add Linux release package and delivery docs [Change Nature] - This commit adds the M6c Linux delivery surface without changing simulation behavior. [New Capability] - Publish self-contained linux-x64 output with framework-dependent fallback and a package-relative launcher. - Document the menu, controls, save paths, autoplay verification, milestones, and asset/license boundaries. [Implementation] - Add the M6c packaging and startup scripts. - Add release notes and an asset/license inventory. - Keep release artifacts and verification evidence under ignored artifacts/m6c-release/. [Impact] - Runtime code and M3 acceptance artifacts are unchanged. - The package was exercised under Xvfb; prior provider metadata remains an unstaged worktree change. --- scripts/m6c-run.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 scripts/m6c-run.sh (limited to 'scripts/m6c-run.sh') diff --git a/scripts/m6c-run.sh b/scripts/m6c-run.sh new file mode 100755 index 0000000..5b73c6f --- /dev/null +++ b/scripts/m6c-run.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env bash +set -euo pipefail + +SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)" +APP_DIR="$SCRIPT_DIR/app" + +if [[ ! -d "$APP_DIR" ]]; then + printf 'M6c package app directory not found: %s\n' "$APP_DIR" >&2 + exit 2 +fi + +if [[ -z "${LV_SAVE_PATH:-}" ]]; then + export LV_SAVE_PATH="$SCRIPT_DIR/living-village.save" +elif [[ "$LV_SAVE_PATH" != /* ]]; then + export LV_SAVE_PATH="$SCRIPT_DIR/$LV_SAVE_PATH" +fi + +cd "$SCRIPT_DIR" + +if [[ -x "$APP_DIR/LivingVillage.Desktop" ]]; then + exec "$APP_DIR/LivingVillage.Desktop" "$@" +fi + +if [[ -f "$APP_DIR/LivingVillage.Desktop.dll" ]] && command -v dotnet >/dev/null 2>&1; then + exec dotnet "$APP_DIR/LivingVillage.Desktop.dll" "$@" +fi + +printf 'Living Village executable not found or framework-dependent dotnet is unavailable.\n' >&2 +exit 127 -- cgit v1.2.3