Fixed incorect variable setting on line 34. added support for the magic number when starting proton

This commit is contained in:
2026-02-12 22:22:28 +01:00
parent ffdd17ea1a
commit 5184ea0ab9

View File

@@ -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
if [[ "$PROTON_PATH" == "PATH" ]] then
proton-ge "$TMP_DIR/EAappInstaller.exe"
else
"$PROTON_PATH/proton" "$TMP_DIR/EAappInstaller.exe"
fi