PortWINE/data_from_portwine/scripts/start
2020-12-02 22:02:14 +03:00

21 lines
601 B
Bash
Executable File

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