PortWINE/data_from_portwine/scripts/start
2020-06-09 00:42:56 +03:00

20 lines
549 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
${optirun_on} "${port_on_run}" "run" "$1" &>/dev/null
else
"${port_on_run}" "run" "$1" &>/dev/null
fi
else
if [ ! -z ${optirun_on} ]; then
${optirun_on} "${port_on_run}" "run" "${gamestart}" ${launch_parameters} &>/dev/null
else
"${port_on_run}" "run" "${gamestart}" ${launch_parameters} &>/dev/null
fi
fi
STOP_PORTWINE