Rename Step Line to Gig Line
Update the game name in project.godot, export presets, UI/marquee/title strings, packaging (AppImage/NSIS/desktop/appdata), tools, docs, and the generated prop GLBs. Packaging assets and README screenshots are regenerated. Headless suite 209/209 and Python tooling tests pass.
This commit is contained in:
1 parent
0eb17e3bb4
commit
3989d7b2e5
44 files changed
+180
-124
No files matched your search
@@ -1,15 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build a self-contained Step Line AppImage (all game data included).
|
||||
# Build a self-contained Gig Line AppImage (all game data included).
|
||||
#
|
||||
# Prereqs: exported Linux binary in build/ (embed_pck=true), curl.
|
||||
# Usage: bash packaging/linux/build_appimage.sh [version]
|
||||
# Output: build/step-line-<version>-x86_64.AppImage
|
||||
# Output: build/gig-line-<version>-x86_64.AppImage
|
||||
set -euo pipefail
|
||||
|
||||
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
ROOT="$(cd "$HERE/../.." && pwd)"
|
||||
VERSION="${1:-$(sed -n 's/.*config\/version="\([^"]*\)".*/\1/p' "$ROOT/project.godot")}"
|
||||
SRC_BIN="$ROOT/build/step-line-linux-${VERSION}.x86_64"
|
||||
SRC_BIN="$ROOT/build/gig-line-linux-${VERSION}.x86_64"
|
||||
|
||||
if [[ ! -f "$SRC_BIN" ]]; then
|
||||
echo "error: missing $SRC_BIN — run ./tools/build_releases.sh first" >&2
|
||||
@@ -18,20 +18,20 @@ fi
|
||||
|
||||
WORK="$(mktemp -d)"
|
||||
trap 'rm -rf "$WORK"' EXIT
|
||||
APPDIR="$WORK/StepLine.AppDir"
|
||||
APPDIR="$WORK/GigLine.AppDir"
|
||||
mkdir -p "$APPDIR/usr/bin"
|
||||
cp "$SRC_BIN" "$APPDIR/usr/bin/step-line"
|
||||
cp "$SRC_BIN" "$APPDIR/usr/bin/gig-line"
|
||||
# The export embeds the PCK (embed_pck=true), so no extra data files are needed.
|
||||
|
||||
cp "$HERE/step-line.desktop" "$APPDIR/step-line.desktop"
|
||||
cp "$HERE/gig-line.desktop" "$APPDIR/gig-line.desktop"
|
||||
cp "$HERE/AppRun" "$APPDIR/AppRun"
|
||||
chmod +x "$APPDIR/AppRun"
|
||||
cp "$HERE/step-line.png" "$APPDIR/step-line.png"
|
||||
cp "$HERE/gig-line.png" "$APPDIR/gig-line.png"
|
||||
# Desktop entry + metainfo in standard locations (AppStream validation requires
|
||||
# the metainfo filename to match the component id, and the .desktop discoverable).
|
||||
mkdir -p "$APPDIR/usr/share/applications" "$APPDIR/usr/share/metainfo"
|
||||
cp "$HERE/step-line.desktop" "$APPDIR/usr/share/applications/step-line.desktop"
|
||||
cp "$HERE/step-line.appdata.xml" "$APPDIR/usr/share/metainfo/net.stepline.game.appdata.xml"
|
||||
cp "$HERE/gig-line.desktop" "$APPDIR/usr/share/applications/gig-line.desktop"
|
||||
cp "$HERE/gig-line.appdata.xml" "$APPDIR/usr/share/metainfo/net.gigline.game.appdata.xml"
|
||||
|
||||
TOOL="${APPIMAGE_TOOL:-/tmp/appimagetool-x86_64.AppImage}"
|
||||
if [[ ! -f "$TOOL" ]]; then
|
||||
@@ -41,7 +41,7 @@ if [[ ! -f "$TOOL" ]]; then
|
||||
chmod +x "$TOOL"
|
||||
fi
|
||||
|
||||
OUT="$ROOT/build/step-line-${VERSION}-x86_64.AppImage"
|
||||
OUT="$ROOT/build/gig-line-${VERSION}-x86_64.AppImage"
|
||||
echo "==> Building AppImage -> $OUT"
|
||||
# Extract-and-run avoids a FUSE dependency on the build host.
|
||||
APPIMAGE_EXTRACT_AND_RUN=1 "$TOOL" "$APPDIR" "$OUT"
|
||||
|
||||
Reference in new issue
Block a user