forked from CastroFidel/PortWINE
Fix update prefix
This commit is contained in:
@ -45,11 +45,10 @@ export WINEARCH=win64
|
||||
export WINELOADER="${WINEDIR}/bin/wine"
|
||||
export WINEDLLPATH="${WINEDIR}/lib64/wine:${WINEDIR}/lib/wine"
|
||||
export WINESERVER="${WINEDIR}/bin/wineserver"
|
||||
export WINEBOOT="${WINEDIR}/bin/wineboot"
|
||||
export WINEPREFIX="${PORT_WINE_PATH}/data/pfx"
|
||||
export PATH="${WINEDIR}/bin:${PATH}"
|
||||
export WINESTART="C:\\windows\\command\\start.exe"
|
||||
export STEAM_COMPAT_DATA_PATH="${PORT_WINE_PATH}/data/"
|
||||
export PW_COMPAT_DATA_PATH="${PORT_WINE_PATH}/data/"
|
||||
export PW_COMPAT_MEDIA_PATH="${PW_COMPAT_MEDIA_PATH}"
|
||||
########################################################################
|
||||
export urlg="http://portwine-linux.ru/donate"
|
||||
|
@ -3,8 +3,22 @@
|
||||
. "$(dirname $(readlink -f "$0"))/runlib"
|
||||
|
||||
rm -f "${PORT_WINE_PATH}/"*".log"
|
||||
rm -f "${PORT_WINE_PATH}/data/"*".lock"
|
||||
|
||||
if [ -f "${PORT_WINE_PATH}/data/version" ]; then
|
||||
rm -f "${PORT_WINE_PATH}/data/version"
|
||||
fi
|
||||
|
||||
rm -f "${config_path}/update_notifier"
|
||||
|
||||
if [ -d "${PORT_WINE_PATH}/data/__pycache__" ]; then
|
||||
rm -fr "${PORT_WINE_PATH}/data/__pycache__"
|
||||
fi
|
||||
|
||||
if [ -d "${PORT_WINE_PATH}/data/pfx/dosdevices" ]; then
|
||||
rm -fr "${PORT_WINE_PATH}/data/pfx/dosdevices"
|
||||
fi
|
||||
|
||||
if [ ! -d "/home/${USER}/.local/share/applications" ]
|
||||
then
|
||||
mkdir -p "/home/${USER}/.local/share/applications"
|
||||
|
@ -14,26 +14,26 @@ export porturl="http://portwine-linux.ru/"
|
||||
#export MESA_GL_VERSION_OVERRIDE=4.4COMPAT
|
||||
export WINEDLLOVERRIDES="winemenubuilder.exe=d"
|
||||
export STAGING_SHARED_MEMORY=1
|
||||
export PW_LOG=0 # 1-ENABLE_DEBUG_MODE_FOR_TERMINAL
|
||||
export PW_NO_VR=1
|
||||
export PW_NO_D3D9=0
|
||||
export PW_NO_D3D10=0
|
||||
export PW_NO_D3D11=0
|
||||
export PW_NO_D3D12=0
|
||||
export PW_NO_FSYNC=0
|
||||
export PW_NO_ESYNC=1
|
||||
export PW_LOG=0 # Enable debug mode fo terminal
|
||||
export PW_NO_VR=1 # Disabled VR support
|
||||
export PW_NO_D3D9=0 # Disable d3d9.dll
|
||||
export PW_NO_D3D10=0 # Disable d3d10.dll, for d3d10 games which can fall back to and run better with d3d9
|
||||
export PW_NO_D3D11=0 # Disable d3d11.dll, for d3d11 games which can fall back to and run better with d3d9
|
||||
export PW_NO_D3D12=0 # Disable d3d12.dll, for d3d12 games which can fall back to and run better with d3d11 or d3d9
|
||||
export PW_NO_FSYNC=0 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
|
||||
export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
export PW_DXVK_ASYNC=0
|
||||
export PW_DXGI_NATIVE=0
|
||||
export PW_USE_SECCOMP=0
|
||||
export PW_USE_SECCOMP=0 #Note: Obsoleted in Proton 5.13. In older versions, enable seccomp-bpf filter to emulate native syscalls, required for some DRM protections to work.
|
||||
export PW_OLD_GL_STRING=0
|
||||
export PW_NO_WINEMFPLAY=1
|
||||
export PW_NO_WINEMFPLAY=0
|
||||
export PW_NVAPI_DISABLE=1
|
||||
export PW_NO_WRITE_WATCH=1
|
||||
export PW_FORCE_USE_VSYNC=2 # 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
|
||||
export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
export PW_WINEDBG_DISABLE=1
|
||||
export PW_PULSE_LOWLATENCY=0
|
||||
export PW_FORCE_DISABLED_GAMEMOD=0
|
||||
export PW_FORCE_LARGE_ADDRESS_AWARE=1
|
||||
export PW_FORCE_DISABLED_GAMEMOD=0 # Force disabele gamemod
|
||||
export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
########################################################################
|
||||
ADD_IN_START_PORTWINE ()
|
||||
{
|
||||
|
Reference in New Issue
Block a user