diff --git a/steamtinkerlaunch b/steamtinkerlaunch index de53e789..51072e1d 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -7,7 +7,7 @@ PREFIX="/usr" PROGNAME="SteamTinkerLaunch" NICEPROGNAME="Steam Tinker Launch" -PROGVERS="v14.0.20240317-1" +PROGVERS="v14.0.20240318-1" PROGCMD="${0##*/}" PROGINTERNALPROTNAME="Proton-stl" SHOSTL="stl" @@ -25790,8 +25790,10 @@ function checkSteamDeckDependencies { local DEPFILENAME="$2" local DEPDIR="$3" local REPOURL="$4" + local CHECKCMD + CHECKCMD="$($DEPCMD &> /dev/null --version && echo "OK" || echo "NOK")" - if [ -f "$(command -v "$DEPCMD")" ]; then + if [ -f "$(command -v "$DEPCMD")" ] && [ "$CHECKCMD" = "OK" ]; then writelog "INFO" "${FUNCNAME[0]} - Using '$DEPCMD' binary found in path: '$(command -v "$DEPCMD")'" echo "Dependency '$DEPCMD' already installed, nothing to do." else