From 3484dbdbcab88aeea913c73f0d007ce321c58d36 Mon Sep 17 00:00:00 2001 From: Wil Gieseler Date: Thu, 2 Nov 2023 19:43:20 -0700 Subject: [PATCH] cherry pick updated config --- steam_deploy.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/steam_deploy.sh b/steam_deploy.sh index 19e6cdb..afa2bb4 100755 --- a/steam_deploy.sh +++ b/steam_deploy.sh @@ -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 @@ -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 @@ -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 #"