Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
# This script downloads windows versions of games from steam and automatically restarts download in case the download failed for reason
game="steamcmd +@sSteamCmdForcePlatformType windows +login <username> <password> +force_install_dir <download_dir> +app_update <app_id> validate +quit"
until $game; do
echo "game download stoppped! Restarting"
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment