Skip to content

Commit

Permalink
Update steamtinkerlaunch
Browse files Browse the repository at this point in the history
fix this shouldn't have been touched compared to master
  • Loading branch information
zany130 committed Sep 22, 2024
1 parent b600b61 commit 68e8243
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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.20240921-3-genericfy-steamdedeckt"
PROGVERS="v14.0.20240921-4-genericfy-steamdedeckt"
PROGCMD="${0##*/}"
PROGINTERNALPROTNAME="Proton-stl"
SHOSTL="stl"
Expand Down Expand Up @@ -10612,9 +10612,7 @@ function listScreenRes {
}

function setInitWinXY {
DEFRESSHM="$STLSHM/defres.txt"
SCRW="$(getScreenRes w)"
SCRH="$(getScreenRes h)"
DEFRESSHM="$STLSHM/defres.txt"
if [ -f "$DEFRESSHM" ] ; then

loadCfg "$DEFRESSHM" X
Expand All @@ -10624,6 +10622,8 @@ function setInitWinXY {
WINX="$GAMESCOPESESSX"
WINY="$GAMESCOPESESSY"
else
SCRW="$(getScreenRes w)"
SCRH="$(getScreenRes h)"
WINX=$(( SCRW * 3 / 4))
WINY=$(( SCRH * 3 / 4))
fi
Expand Down

0 comments on commit 68e8243

Please sign in to comment.