Skip to content

Commit

Permalink
feat(dep): Check Integrity of Steam Deck Dependencies (#1054)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 authored Mar 18, 2024
1 parent 34a0639 commit 706d7a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 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.20240317-1"
PROGVERS="v14.0.20240318-1"
PROGCMD="${0##*/}"
PROGINTERNALPROTNAME="Proton-stl"
SHOSTL="stl"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 706d7a1

Please sign in to comment.