Major changes port_on and add use terminal in vars

This commit is contained in:
castro-fidel
2020-11-02 01:44:03 +03:00
parent 8fc3301faf
commit c78720a4eb
11 changed files with 105 additions and 185 deletions

View File

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