Skip to content

Instantly share code, notes, and snippets.

@ishanjain28
Created December 30, 2019 09:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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