mirror of
https://github.com/db9979/uconsole_asw_game.git
synced 2026-12-06 12:54:18 +01:00
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
8 lines
312 B
Bash
Executable File
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 "$@"
|