From 47401681ff53739c64909b80c8e0a45bd2793cf5 Mon Sep 17 00:00:00 2001 From: castro-fidel Date: Sat, 15 Jan 2022 18:14:21 +0300 Subject: [PATCH] update post-install script 4 --- data_from_portwine/scripts/start.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index 951af327..b4fb399d 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -8,6 +8,10 @@ fi kill_portwine pw_stop_progress_bar +if [[ -f "/usr/bin/portproton" ]] && [[ -f "${HOME}/.local/share/applications/PortProton.desktop" ]] ; then + sh "/usr/bin/portproton" "$@" & exit 0 +fi + portwine_launch () { start_portwine PORTWINE_MSI=`basename "${portwine_exe}" | grep .msi`