Last active
September 18, 2016 07:18
-
-
Save thorsummoner/8549aa146c08b12a759ef8c2d323b3bc to your computer and use it in GitHub Desktop.
steamscript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# steamcmd doesn't handle the shebang line, so lets remove it :\ Woo | |
# Use Tail to strip first line (print all lines starting at 2) of our input file | |
# Call steamcmd with automatic login and automatic exit | |
steamcmd +login ${STEAMLOGIN:-thorsummoner0} +runscript <(tail -n+2 $1) +exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment