Skip to content

Instantly share code, notes, and snippets.

@ishanjain28
Created December 30, 2019 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishanjain28/82dc84437b56291a6d042556f4fd5e95 to your computer and use it in GitHub Desktop.
Save ishanjain28/82dc84437b56291a6d042556f4fd5e95 to your computer and use it in GitHub Desktop.
#!/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