Fix GUI update prefix from portproton

This commit is contained in:
castro-fidel
2022-01-21 21:28:11 +03:00
parent 366d4ce480
commit fcd0bff7f4
4 changed files with 5 additions and 4 deletions

View File

@ -10,7 +10,7 @@ deflink="${HOME}/PortWINE/${portname}"
if [ "$(dirname "`readlink -f "$0"`")" == "/usr/bin" ] ; then
[ -z "${XDG_DATA_HOME}" ] && export XDG_DATA_HOME="$HOME/.local/share"
if [ -f "${XDG_DATA_HOME}/PortWINE/PortProton/data/scripts/start.sh" ] ; then
sh "${XDG_DATA_HOME}/PortWINE/PortProton/data/scripts/start.sh" "$@"
/bin/bash -c "${XDG_DATA_HOME}/PortWINE/PortProton/data/scripts/start.sh" "$@"
exit 0
else
if [ ! -z "`locale | grep "LANG=ru_RU.UTF-8"`" ] ; then