From 4345783df0f8325e033fab9c68c808dfbc021645 Mon Sep 17 00:00:00 2001 From: HanPrower <1781312+HanPrower@users.noreply.github.com> Date: Wed, 28 Aug 2024 16:08:57 +0100 Subject: [PATCH] Fix wrong case in getGameScopeGeneralOpts GSSHWRES --- steamtinkerlaunch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steamtinkerlaunch b/steamtinkerlaunch index da4a580d..8db40590 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -11315,7 +11315,7 @@ function setGameScopeVars { function getGameScopeGeneralOpts { # GameScope Show Resolution (corresponds to -W, -H options, uppercase) -- Actual GameScope window size -- Dropdown if [ -z "$GSSHWRES" ]; then - if ! grep -qw "\-w" <<< "$GAMESCOPE_ARGS" || ! grep -qw "\-h" <<< "$GAMESCOPE_ARGS"; then + if ! grep -qw "\-W" <<< "$GAMESCOPE_ARGS" || ! grep -qw "\-H" <<< "$GAMESCOPE_ARGS"; then GSSHWRES="1280x720" else GSSHWRES="$(tr ' ' '\n' <<< "$GAMESCOPE_ARGS" | grep -wA1 "\-W" | tail -n1)x$(tr ' ' '\n' <<< "$GAMESCOPE_ARGS" | grep -wA1 "\-H" | tail -n1)"