kyber-server: prompt for manual SWBF2 path if not found via Steam

Instead of hard-failing, show an rsync example for copying game files from
another machine, then prompt for the path. Validates that starwarsbattlefrontii.exe
exists at the given location before continuing.

Also silence "register_service: command not found" in all three services when
run standalone (guard with command -v check).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8ckUJQtj1pH8jtAddBDZs
This commit is contained in:
Claude
2026-06-26 02:33:26 +00:00
parent 97ff75e4e2
commit 06d7e95dc0
3 changed files with 24 additions and 13 deletions
+2 -1
View File
@@ -30,7 +30,8 @@
# Without the fix: bwrap: setting up uid map: Permission denied
# ── Registration ──────────────────────────────────────────────────────────────
register_service kyber-launcher gaming "Kyber Launcher — native Linux AppImage for SWBF2 (2017) multiplayer (requires discrete GPU)"
command -v register_service &>/dev/null && \
register_service kyber-launcher gaming "Kyber Launcher — native Linux AppImage for SWBF2 (2017) multiplayer (requires discrete GPU)"
# ── Install function ──────────────────────────────────────────────────────────
install_kyber_launcher() {