steam-backlog-enforcer/_installer_import/install.sh
Krzysztof kuhy Rudnicki 72390acc2c Initial implementation: fast Steam installs via depotdownloader + steamcmd
Wraps depotdownloader for the bulk content pull (bypasses Steam's own
capped download speed) and steamcmd's app_update --validate to make Steam
recognize the result, with a manual-manifest fallback for the confirmed
steamcmd install-script segfault bug when no fix is available. Name search
via store.steampowered.com is best-effort since that endpoint TLS-rejects
scripted clients on this network; --appid plus steamcmd's own app_info_print
is the reliable primary path.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-23 12:50:26 +02:00

25 lines
572 B
Bash
Executable File

#!/bin/bash
# Checks for depotdownloader and steamcmd on PATH. steamcmd is AUR-only and
# needs an interactive license/sudo prompt, so it's never installed for you --
# this just tells you the command to run.
set -euo pipefail
missing=0
if ! command -v depotdownloader >/dev/null 2>&1; then
echo "missing: depotdownloader (see ~/depotdownloader)" >&2
missing=1
fi
if ! command -v steamcmd >/dev/null 2>&1; then
echo "missing: steamcmd -- run: yay -S steamcmd" >&2
missing=1
fi
if [[ "$missing" -eq 0 ]]; then
echo "All dependencies present."
fi
exit "$missing"