Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config for windows support #76

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions steam_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ if [ -n "$steam_totp" ]; then
echo "#################################"
echo ""
else
if [ ! -n "$configVdf" ] || [ ! -n "$ssfnFileName" ] || [ ! -n "$ssfnFileContents" ]; then
echo "MFA inputs are missing or incomplete! Cannot proceed."
if [ ! -n "$configVdf" ]; then
echo "Config VDF input is missing or incomplete! Cannot proceed."
exit 1
fi

Expand All @@ -112,10 +112,6 @@ else
echo "$configVdf" | base64 -d > "$steamdir/config/config.vdf"
chmod 777 "$steamdir/config/config.vdf"

echo "Copying $steamdir/ssfn..."
echo "$ssfnFileContents" | base64 -d > "$steamdir/$ssfnFileName"
chmod 777 "$steamdir/$ssfnFileName"

echo "Finished Copying SteamGuard Files!"
echo ""
fi
Expand All @@ -126,7 +122,7 @@ echo "# Uploading build #"
echo "#################################"
echo ""

$STEAM_CMD +login "$steam_username" "$steam_password" "$steam_totp" +run_app_build $manifest_path +quit || (
$STEAM_CMD +login "$steam_username" +run_app_build $manifest_path +quit || (
echo ""
echo "#################################"
echo "# Errors #"
Expand Down