From 89af3c89e8bad3b9eb4c07f09796e34ad57c7492 Mon Sep 17 00:00:00 2001 From: "Clarence \"Sparr\" Risher" Date: Sat, 28 Dec 2024 20:56:52 -0500 Subject: [PATCH] Avoid error when CUPROTOCOMPAT is empty (#1204) --- steamtinkerlaunch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 392f0942..151fbbac 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -7,7 +7,7 @@ PREFIX="/usr" PROGNAME="SteamTinkerLaunch" NICEPROGNAME="Steam Tinker Launch" -PROGVERS="v14.0.20241025-1" +PROGVERS="v14.0.20241228-1" PROGCMD="${0##*/}" PROGINTERNALPROTNAME="Proton-stl" SHOSTL="stl" @@ -4403,7 +4403,7 @@ function needNewProton { } function dlCustomProton { - if [ "$CUPROTOCOMPAT" -eq 1 ]; then + if [[ -n "$CUPROTOCOMPAT" && "$CUPROTOCOMPAT" -eq 1 ]]; then CUPROEXTDIR="$STEAMCOMPATOOLS" else CUPROEXTDIR="$CUSTPROTEXTDIR"