major changes

This commit is contained in:
castro-fidel
2020-07-01 20:20:59 +03:00
parent 293a3146d9
commit 7d4d4f2c86
9 changed files with 42 additions and 32 deletions

View File

@ -5,15 +5,15 @@
START_PORTWINE
if [ ! -z "$1" ]; then
if [ ! -z ${optirun_on} ]; then
${optirun_on} "${port_on_run}" "run" "$1" &>/dev/null
${optirun_on} "${port_on_run}" "run" "$1"
else
"${port_on_run}" "run" "$1" &>/dev/null
"${port_on_run}" "run" "$1"
fi
else
if [ ! -z ${optirun_on} ]; then
${optirun_on} "${port_on_run}" "run" "${gamestart}" ${launch_parameters} &>/dev/null
${optirun_on} "${port_on_run}" "run" "${gamestart}" ${launch_parameters}
else
"${port_on_run}" "run" "${gamestart}" ${launch_parameters} &>/dev/null
"${port_on_run}" "run" "${gamestart}" ${launch_parameters}
fi
fi
STOP_PORTWINE