major changes for create_shortcut scripts

This commit is contained in:
Castro-Fidel
2020-06-09 23:36:28 +03:00
parent bed2eba932
commit 3fe80df33b
4 changed files with 44 additions and 22 deletions

View File

@ -7,21 +7,21 @@ export gamename=
export gamedir=
if [ ! -z ${gamedir} ]; then
export PATH_TO_GAME="${PORT_WINE_PATH}/data/pfx/drive_c/Program Files (x86)/${gamedir}"
else
export PATH_TO_GAME="${PORT_WINE_PATH}/data/pfx/drive_c/Program Files (x86)/"
fi
export gamestart="${PATH_TO_GAME}/.exe"
export porturl="http://portwine-linux.ru/"
########################################################################
#export MESA_GL_VERSION_OVERRIDE=4.4COMPAT
export STAGING_SHARED_MEMORY=1
export PW_FORCE_LARGE_ADDRESS_AWARE=1
export PW_USE_SECCOMP=1
export WINEDLLOVERRIDES="winemenubuilder.exe=d"
export PW_LOG=0
export PW_ACO=1
export PW_NO_VR=1
export PW_FILELOCK=1
export PW_USE_SECCOMP=1
export PW_NO_WINEMFPLAY=1
export PW_NO_WRITE_WATCH=1
export PW_FORCE_LARGE_ADDRESS_AWARE=1
########################################################################
ADD_IN_START_PORTWINE ()
{