Windows STEAM works for any version of the wine-proton

This commit is contained in:
castro-fidel
2020-12-17 23:23:37 +03:00
parent 999b4592be
commit 71b6108ee4
13 changed files with 65 additions and 127 deletions

View File

@ -5,6 +5,7 @@ START_PORTWINE
if [ -f "$1" ]; then
export portwine_exe="$(readlink -f "$1")"
export PATH_TO_GAME="$( cd "$( dirname "$1" )" >/dev/null 2>&1 && pwd )"
cd "$PATH_TO_GAME"
if [ ! -z ${optirun_on} ]; then
"${PW_RUNTIME}" $PW_TERM ${optirun_on} "${port_on_run}" "run" "$portwine_exe"
else