Skip to content

Commit

Permalink
More work for #646
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk committed Nov 3, 2022
1 parent 09c2f57 commit 3627029
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
PREFIX="/usr"
PROGNAME="SteamTinkerLaunch"
NICEPROGNAME="Steam Tinker Launch"
PROGVERS="v11.12.20221102-1"
PROGVERS="v11.12.20221103-2"
PROGCMD="${0##*/}"
SHOSTL="stl"
GHURL="https://github.com"
Expand Down Expand Up @@ -14181,13 +14181,15 @@ function setYadBin {
writelog "INFO" "${FUNCNAME[0]} - Creating symlink from '$YADFILE' to '$YADAIDLDIR/$YAD'"
ln -s "$YADFILE" "$YADAIDLDIR/yad"
fi
touch "$FUPDATE"
updateConfigEntry "YAD" "$YADAIDLDIR/yad" "$STLDEFGLOBALCFG" # Update Yad entry on config file on Steam Deck to point to symlink in deps dir
else
YADVER="$("$YADFILE" --version | tail -n1 | cut -d ' ' -f1)"
if [ "$(printf '%s\n' "$MINYAD" "$YADVER" | sort -V | head -n1)" != "$MINYAD" ] || grep -qi "[A-Z]" <<< "$YADVER" ; then
writelog "ERROR" "${FUNCNAME[0]} - Version for '$YADFILE' is invalid. You need to at least version '$MINYAD'"
else
writelog "INFO" "${FUNCNAME[0]} - configuring yad binary to '$YADFILE'"
touch "$FUPDATE"
updateConfigEntry "YAD" "$YADFILE" "$STLDEFGLOBALCFG"
fi
fi
Expand Down

0 comments on commit 3627029

Please sign in to comment.