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 bedf6e7 commit 695751e
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.20240323-1"
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 695751e

Please sign in to comment.