add create_shortcut script

This commit is contained in:
Castro-Fidel
2020-06-09 00:42:56 +03:00
parent 7b70c96927
commit bed2eba932
10 changed files with 86 additions and 85 deletions

View File

@ -3,9 +3,17 @@
. "$(dirname $(readlink -f "$0"))/runlib"
"${WINESERVER}" -k
START_PORTWINE
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
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