Skip to content

Commit

Permalink
Vortex: Make --device-scale-factor the first argument
Browse files Browse the repository at this point in the history
It seems if this goes at the end of the arguments,
Vortex will not parse other arguments correctly.
Most notably if this argument is after `-d`,
Vortex will not interpret NXM urls.

May help #1143.
  • Loading branch information
sonic2kk committed Jul 26, 2024
1 parent fcc7268 commit f899d3c
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.20240725-1"
PROGVERS="v14.0.20240726-2"
PROGCMD="${0##*/}"
PROGINTERNALPROTNAME="Proton-stl"
SHOSTL="stl"
Expand Down Expand Up @@ -16362,7 +16362,7 @@ function setVortSet {

function runVortex {
cd "$VORTEXINSTDIR" >/dev/null || return
wineVortexRun "$VORTEXWINE" "${VTX^}.exe" "$@" "--force-device-scale-factor=${VORTEXDEVICESCALEFACTOR}"
wineVortexRun "$VORTEXWINE" "${VTX^}.exe" "--force-device-scale-factor=${VORTEXDEVICESCALEFACTOR}" "$@"
cd - >/dev/null || return
}

Expand Down

0 comments on commit f899d3c

Please sign in to comment.