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,15 +6,15 @@ START_PORTWINE
if [ ! -z "$1" ]; then
if [ ! -z $optirun_on ]; then
${optirun_on} "${port_on_run}" "run" "$1"
$PW_TERM ${optirun_on} "${port_on_run}" "run" "$1"
else
"${port_on_run}" "run" "$1"
$PW_TERM "${port_on_run}" "run" "$1"
fi
else
if [ ! -z $optirun_on ]; then
${optirun_on} "${port_on_run}" "run" "${gamestart}" ${launch_parameters}
$PW_TERM ${optirun_on} "${port_on_run}" "run" "${gamestart}" ${launch_parameters}
else
"${port_on_run}" "run" "${gamestart}" ${launch_parameters}
$PW_TERM "${port_on_run}" "run" "${gamestart}" ${launch_parameters}
fi
fi