diff --git a/install.sh b/install.sh index adf39f3..fda238c 100755 --- a/install.sh +++ b/install.sh @@ -31,7 +31,7 @@ elif [[ -d "$STEAM_CUTOM_PROTON_PATH" ]] then subdir="${subdir%/}" if [[ -x "$subdir/proton" ]] then ## We found a proton! we will asume this is a good and working one :) - PROTON_PATH="$subdir/proton" + PROTON_PATH="$subdir" found=1 break fi @@ -171,4 +171,8 @@ echo "" sleep 1 echo "Starting proton in 5s, we might lose controll, if no application starts then we might have an issue, I trust you proton!..." sleep 5 -"$PROTON_PATH/proton" "$TMP_DIR/EAappInstaller.exe" \ No newline at end of file +if [[ "$PROTON_PATH" == "PATH" ]] then + proton-ge "$TMP_DIR/EAappInstaller.exe" +else + "$PROTON_PATH/proton" "$TMP_DIR/EAappInstaller.exe" +fi \ No newline at end of file