Major changes

This commit is contained in:
Castro-Fidel
2020-06-05 15:28:52 +03:00
parent ad1a28a47e
commit 6a1df190f0
14 changed files with 170 additions and 117 deletions

View File

@ -0,0 +1,13 @@
#!/bin/bash
# Author: PortWINE-Linux.ru
. "$(dirname $(readlink -f "$0"))/runlib"
"${WINESERVER}" -k
wine_pids=$(ls -l /proc/*/exe 2>/dev/null | grep -E 'wine(64)?-preloader|wineserver' | perl -pe 's;^.*/proc/(\d+)/exe.*$;$1;g;')
if ! [ -z "${wine_pids}" ] ; then
kill -9 ${wine_pids}
fi
if [ -e "${config_path}/dxvk_on" ]; then
rm -f "${config_path}/dxvk_on"
fi
START_PORTWINE
STOP_PORTWINE | pwzen