mirror of
https://github.com/kuhyx/steam-backlog-enforcer.git
synced 2026-11-23 10:26:19 +01:00
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>
25 lines
572 B
Bash
Executable File
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"
|