Skip to content

Commit

Permalink
SteamGridDB: Use retBool to get checkbox value, pass correct --search-id
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk committed Jan 11, 2024
1 parent 037c7dd commit 1ea5a89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 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="v14.0.20230112-2 (sgdb-artwork-gui)"
PROGVERS="v14.0.20230112-3 (sgdb-artwork-gui)"
PROGCMD="${0##*/}"
PROGINTERNALPROTNAME="Proton-stl"
SHOSTL="stl"
Expand Down Expand Up @@ -1589,7 +1589,7 @@ function getSteamGridDBArtworkGUI {
FSGDBAWGAMEID="${FSGDBAWARR[2]}"
FSGDBAWSEARCHNAME="${FSGDBAWARR[3]}"
FSGDBAWHASFILE="--${FSGDBAWARR[4]}-existing" # i.e. turns 'replace' into '--replace-existing'
FSGDBAWAPPLYARTWORK="${FSGDBAWARR[5]}"
FSGDBAWAPPLYARTWORK="$( retBool "${FSGDBAWARR[5]}" )"

if [ -z "${FSGDBAWAPPID}" ] && [ -z "${FSGDBAWGAMEID}" ] && [ -z "${FSGDBAWSEARCHNAME}" ]; then
# TODO Notifier for error?
Expand Down Expand Up @@ -1624,7 +1624,7 @@ function getSteamGridDBArtworkGUI {

# Execute actual fetching of artwork, could probably put notifier here
writelog "INFO" "${FUNCNAME[0]} - Executing 'commandlineGetSteamGridDBArtwork --search-id=\"${FSGDBAWGAMEID}\" --search-name=\"${FSGDBAWSEARCHNAME}\" --filename-appid=\"${FSGDBAWFILENAMEAPPID}\" \"${FSGDBAWHASFILE}\" \"${FSGDBAWGAMETYPEFLAG}\"'"
commandlineGetSteamGridDBArtwork --search-id="${FSGDBAWGAMEID}" --search-name="${FSGDBAWSEARCHNAME}" --filename-appid="${FSGDBAWFILENAMEAPPID}" "${FSGDBAWHASFILE}" "${FSGDBAWAPPLYARTWORKFLAG}" "${FSGDBAWGAMETYPEFLAG}"
commandlineGetSteamGridDBArtwork --search-id="${FSGDBAWSEARCHID}" --search-name="${FSGDBAWSEARCHNAME}" --filename-appid="${FSGDBAWFILENAMEAPPID}" "${FSGDBAWHASFILE}" "${FSGDBAWAPPLYARTWORKFLAG}" "${FSGDBAWGAMETYPEFLAG}"
}
esac
}
Expand Down

0 comments on commit 1ea5a89

Please sign in to comment.