Major changes. Fix kill port. Settings to YAD

This commit is contained in:
castro-fidel
2021-01-04 17:19:37 +03:00
parent edf2f31695
commit da12192090
17 changed files with 339 additions and 342 deletions

View File

@ -1,21 +1,20 @@
#!/bin/bash
# Author: PortWINE-Linux.ru
. "$(dirname $(readlink -f "$0"))/runlib"
# "${WINESERVER}" -k
START_PORTWINE
if [ ! -z "$1" ]; then
KILL_PORTWINE
START_PORTWINE
if [ ! -z $optirun_on ]; then
$PW_TERM "${PW_RUNTIME}" ${optirun_on} "${port_on_run}" "run" "$1"
$PW_TERM "${PW_RUNTIME}" ${optirun_on} "${port_on_run}" "run" "$1" ${launch_parameters}
else
$PW_TERM "${PW_RUNTIME}" "${port_on_run}" "run" "$1"
$PW_TERM "${PW_RUNTIME}" "${port_on_run}" "run" "$1" ${launch_parameters}
fi
else
else
START_PORTWINE
if [ ! -z $optirun_on ]; then
$PW_TERM "${PW_RUNTIME}" ${optirun_on} "${port_on_run}" "run" "${gamestart}" ${launch_parameters}
else
$PW_TERM "${PW_RUNTIME}" "${port_on_run}" "run" "${gamestart}" ${launch_parameters}
fi
fi
STOP_PORTWINE