diff --git a/install.sh b/install.sh index 151220c..602d512 100755 --- a/install.sh +++ b/install.sh @@ -116,7 +116,6 @@ if [[ $GET_PROTON -eq 1 ]] then exit 1 fi fi - cd "$work_dir" echo "Extracting $tarball_name to the Steam compatibility tools folder..." tar -xf $tarball_name -C $STEAM_CUTOM_PROTON_PATH @@ -131,6 +130,8 @@ if [[ $GET_PROTON -eq 1 ]] then echo "The newly downloaded Proton failed" exit 1 fi + + cd "$work_dir" elif [[ "$answer" == "n" || "$answer" == "no" || "$answer" == "N" ]] then echo "Please install proton thru other means." exit 1