Skip to content

Commit

Permalink
checkIntDeps: Fail early if Steam Not Found (#1059)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 authored Mar 19, 2024
1 parent a7e06e3 commit c9a8ed9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 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.20240319-1"
PROGVERS="v14.0.20240320-1"
PROGCMD="${0##*/}"
PROGINTERNALPROTNAME="Proton-stl"
SHOSTL="stl"
Expand Down Expand Up @@ -18271,9 +18271,16 @@ function checkIntDeps {

if [ ! -x "$(command -v "$YAD")" ]; then
DEPSMISSING=1
writelog "ERROR" "${FUNCNAME[0]} - '$YAD' was not found! Check '${PROGCMD} --help' for alternatives and/or read '$PROJECTPAGE/wiki/Yad'" "E"
writelog "ERROR" "${FUNCNAME[0]} - Yad dependency ('$YAD') was not found! Check '${PROGCMD} --help' for alternatives and/or read '$PROJECTPAGE/wiki/Yad'" "E"
notiShow "$(strFix "$NOTY_NOTFOUND" "$YAD")"
fi


if [ ! -x "$(command -v "steam")" ] && [ "$INFLATPAK" -eq 0 ]; then
DEPSMISSING=1
echo "ERROR" "Steam not found"
writelog "ERROR" "${FUNCNAME[0]} - Steam not found"
fi

setAwkBin

Expand Down

0 comments on commit c9a8ed9

Please sign in to comment.