diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 342f1dbc..71c2b1bb 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -7,7 +7,7 @@ PREFIX="/usr" PROGNAME="SteamTinkerLaunch" NICEPROGNAME="Steam Tinker Launch" -PROGVERS="v14.0.20240609-1" +PROGVERS="v14.0.20240609-3" PROGCMD="${0##*/}" PROGINTERNALPROTNAME="Proton-stl" SHOSTL="stl" @@ -7107,7 +7107,7 @@ function extProtonRun { mapfile -d " " -t -O "${#TMP_RUNPROGARGS[@]}" TMP_RUNPROGARGS < <( printf "%q" "$PROGARGS" ) # Basically check for and join paths that contain spaces because above mapfile will strip them - # TODO: This does NOT work with paths that use forward slashes + # TODO: This does NOT work with paths that use forward slashes for i in "${!TMP_RUNPROGARGS[@]}"; do # Remove trailing backslash, i.e. turn `--launch\` into `--launch` TMP_RUNPROGARGS[i]="${TMP_RUNPROGARGS[i]%\\}" @@ -7122,7 +7122,7 @@ function extProtonRun { if [[ $LASTRUNPROGARG = *"\\" ]]; then # Remove 'i-1' (previous element), because 'i' (current element) will contain 'i-1' unset "TMP_RUNPROGARGS[i-1]" - TMP_RUNPROGARGS[i]="${LASTRUNPROGARG} ${TMP_RUNPROGARGS[i]}" + TMP_RUNPROGARGS[i]="${LASTRUNPROGARG} ${TMP_RUNPROGARGS[i]}" fi LASTRUNPROGARG="${TMP_RUNPROGARGS[i]}" done @@ -9623,7 +9623,7 @@ function installRSdll { function installReshade { if [ "$USERESHADE" -eq 1 ]; then prepareReshadeFiles - setShadDestDir # Have to use setShadDestDir because setShadDest will use ABSGAMEEXEPATH which is not Custom Command + setShadDestDir # Have to use setShadDestDir because setShadDest will use ABSGAMEEXEPATH which is not Custom Command INSTDESTDIR="$SHADDESTDIR" @@ -18393,8 +18393,8 @@ function checkIntDeps { 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" @@ -23868,7 +23868,7 @@ function createVdfEntry { NEWBLOCKNAME="$( safequoteVdfBlockName "$3" )" # Name of new block, e.g. "" POSITION="${4:-bottom}" # POSITION to insert into, can be either top/bottom -- Bottom by default INDENT="$5" # Indent that PARENTBLOCKNAME is at (0 = top of file) - CHECKDUPLICATES="${6:-1}" # Flag to check for duplicate section names + CHECKDUPLICATES="${6:-1}" # Flag to check for duplicate section names # If no indent is given, guess the indent, otherwise use the specified one # ------- @@ -24095,7 +24095,7 @@ function updateLocalConfigAppsValue { LCVAID="$1" # AppID for section name, i.e. '"-1123145"' (must be signed 32bit integer) LCVKEYNAME="$2" # Key to write into section, i.e. '"OverlayAppEnable"' LCVKEYVAL="$3" # Value to assign to key, i.e. '"1"' - + # This part in particular may need reworked if/when we add the option to select a Steam User if [ ! -f "$FLCV" ]; then writelog "WARN" "${FUNCNAME[0]} - No localconfig.vdf found at '${FLCV}' -- Nothing to do." @@ -24113,7 +24113,7 @@ function updateLocalConfigAppsValue { writelog "INFO" "${FUNCNAME[0]} - localconfig.vdf already has 'Apps' section, nothing to do" fi - # Next we need to check if the given AppID + # Next we need to check if the given AppID FLCVAPPAID="$( getNestedVdfSection "Apps/${LCVAID}" "1" "$FLCV" )" if ! grep -q -- "$LCVAID" <<< "$FLCVAPPAID"; then # This case adds a new entry under the "Apps" section with the initial content: "LCVKEYNAME" "LCVKEYVAL"