forked from hexalellogram/mac-setup
-
Notifications
You must be signed in to change notification settings - Fork 1
/
SteamScript.sh
17 lines (13 loc) · 829 Bytes
/
SteamScript.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
echo "Please DO NOT close this Terminal window!"
osascript -e 'quit app "Steam"'
read -p "Please ensure Steam has quit (force quit if needed), sometimes Steam is wonky and won't quit. (Press Enter to continue)"
read -p "Enter Steam Username: " username
read -s -p "Enter Steam Password: " password; echo
echo "You will need to enter your Steam Guard code for the first time soon so have your phone ready."
echo "This should be a one-time only occurrence since after this Steam will use cached credentials."
echo "Installing Civilization V + DLC"
steamcmd +login $username $password +app_update 8930 validate +quit # DLC is included with this
echo "Installing Rocket League"
steamcmd +login $username $password +app_update 252950 validate +quit
echo "Steam Games Installed! You may now close this Terminal window"