Skip to content

Commit

Permalink
extProtonRun: Use 'printf "%q"' when parsing RUNPROGARGS
Browse files Browse the repository at this point in the history
May help with paths that use backslashes.
  • Loading branch information
sonic2kk committed Mar 23, 2024
1 parent f691c55 commit 80e72d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 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.20240320-2"
PROGVERS="v14.0.20240323-1 (extProtonRun-printf-q)"
PROGCMD="${0##*/}"
PROGINTERNALPROTNAME="Proton-stl"
SHOSTL="stl"
Expand Down Expand Up @@ -7079,7 +7079,7 @@ function extProtonRun {
if [ -z "$PROGARGS" ] || [ "$PROGARGS" == "$NON" ]; then
RUNPROGARGS=""
else
mapfile -d " " -t -O "${#RUNPROGARGS[@]}" RUNPROGARGS < <(printf '%s' "$PROGARGS")
mapfile -d " " -t -O "${#RUNPROGARGS[@]}" RUNPROGARGS < <(printf '%q' "$PROGARGS")
fi

FWAIT=2
Expand Down

0 comments on commit 80e72d2

Please sign in to comment.