Files
uconsole_asw_game/packaging/uconsole/u-jagd-launch
T
Claude c0931c0b98 uConsole installer with automatic updates (1.3.9)
One-command installer (curl ... | sh) for the uConsole: clones or adopts
~/games/u-jagd, creates the venv, a menu entry, a desktop shortcut, the
u-jagd command and a systemd user timer. Every start first updates to the
newest GitHub release (tag vX.Y.Z, same source as the Windows starter),
falls back to origin/main without releases, starts the installed version
offline, and rolls back a version whose main.py --version fails.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Usz3QPsVzhkfkA3GrLaH4i
2026-09-28 09:28:23 +00:00

8 lines
312 B
Bash
Executable File

#!/bin/sh
# U-Jagd starter: update to the newest release (best effort), then start the game.
# Game arguments are passed through, e.g. `u-jagd --windowed`.
# U_JAGD_NO_UPDATE=1 skips the update for one start.
set -eu
self=$(readlink -f -- "$0")
exec python3 "$(dirname -- "$self")/u_jagd_updater.py" launch "$@"