From 629b31cc46541a45140615a66aca15caba56dc05 Mon Sep 17 00:00:00 2001 From: Castro-Fidel Date: Thu, 28 May 2020 14:04:15 +0300 Subject: [PATCH] Fix optirun --- data_from_portwine/scripts/debug | 2 +- data_from_portwine/scripts/start | 4 ++-- data_from_portwine/scripts/winecmd | 3 +-- data_from_portwine/scripts/winefile | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/data_from_portwine/scripts/debug b/data_from_portwine/scripts/debug index 28c5055c..0a0320dc 100755 --- a/data_from_portwine/scripts/debug +++ b/data_from_portwine/scripts/debug @@ -71,7 +71,7 @@ export WINE_MONO_TRACE="E:System.NotImplementedException" #"/usr/bin/xterm" -geometry 130x13 -sb -e 'echo "--------------------------------------------------------PORTWINE-LINUX.RU--------------------------------------------------------" && "${PROTONRUN}" "run" "${gamestart}" "${launch_parameters}" &>> "${PORT_WINE_PATH}/${portname}.log"' -"${optirun_on}" "${var_gamemode}" "${PROTONRUN}" "run" "${gamestart}" ${launch_parameters} >> "${PORT_WINE_PATH}/${portname}.log" 2>&1 +${optirun_on} "${var_gamemode}" "${PROTONRUN}" "run" "${gamestart}" ${launch_parameters} >> "${PORT_WINE_PATH}/${portname}.log" 2>&1 KILL9_WINEDEVICE | pwzen STOP_PORTWINE | pwzen diff --git a/data_from_portwine/scripts/start b/data_from_portwine/scripts/start index 36ad4e7a..d87cf5de 100755 --- a/data_from_portwine/scripts/start +++ b/data_from_portwine/scripts/start @@ -1,7 +1,7 @@ #!/bin/bash -# Author: Tergoev M.A. +# Author: PortWINE-Linux.ru . "$(dirname $(readlink -f "$0"))/runlib" "${WINESERVER}" -k START_PORTWINE -"${optirun_on}" "${var_gamemode}" "${PROTONRUN}" "run" "${gamestart}" ${launch_parameters} & KILL9_WINEDEVICE >&2 +${optirun_on} "${var_gamemode}" "${PROTONRUN}" "run" "${gamestart}" ${launch_parameters} & KILL9_WINEDEVICE >&2 STOP_PORTWINE diff --git a/data_from_portwine/scripts/winecmd b/data_from_portwine/scripts/winecmd index 28840ada..35c8fc5f 100755 --- a/data_from_portwine/scripts/winecmd +++ b/data_from_portwine/scripts/winecmd @@ -1,7 +1,6 @@ #!/bin/bash # Author: PortWINE-Linux.ru - . "$(dirname $(readlink -f "$0"))/runlib" START_PORTWINE -"${optirun_on}" "${var_gamemode}" "${PROTONRUN}" "run" "cmd" >&2 +${optirun_on} "${var_gamemode}" "${PROTONRUN}" "run" "cmd" >&2 STOP_PORTWINE diff --git a/data_from_portwine/scripts/winefile b/data_from_portwine/scripts/winefile index 5a50398e..497acd01 100755 --- a/data_from_portwine/scripts/winefile +++ b/data_from_portwine/scripts/winefile @@ -3,5 +3,5 @@ . "$(dirname $(readlink -f "$0"))/runlib" START_PORTWINE export WINEDEBUG="fixme-all" -"${optirun_on}" ${var_gamemode} "${PROTONRUN}" "run" "explorer" & KILL9_WINEDEVICE >&2 +${optirun_on} ${var_gamemode} "${PROTONRUN}" "run" "explorer" & KILL9_WINEDEVICE >&2 STOP_PORTWINE