forked from CastroFidel/PortWINE
fix PATH_TO_GAME for more games
This commit is contained in:
parent
edbbbed8c9
commit
8610f9467c
@ -2,10 +2,9 @@
|
||||
# Author: PortWINE-Linux.ru
|
||||
. "$(dirname $(readlink -f "$0"))/runlib"
|
||||
if [ -f "$1" ]; then
|
||||
portwine_exe="$1"
|
||||
portwine_exe_path="$(dirname $(readlink -f "$1"))"
|
||||
export portwine_exe="$(readlink -f "$1")"
|
||||
export PATH_TO_GAME="$(dirname $(readlink -f "$1"))"
|
||||
START_PORTWINE
|
||||
cd "${portwine_exe_path}"
|
||||
if [ ! -z ${optirun_on} ]; then
|
||||
${optirun_on} "${port_on_run}" "run" "$portwine_exe"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user