Skip to content

Commit

Permalink
Avoid error when CUPROTOCOMPAT is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
sparr committed Dec 28, 2024
1 parent 4ef6565 commit 19ca352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 19ca352

Please sign in to comment.