From 19e8f0b95eec91943daf27965a43af0e555a0941 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Fri, 3 May 2024 14:08:06 +0300 Subject: [PATCH] addded restart PP after create shortcut --- data_from_portwine/scripts/functions_helper | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 998fd1f1..ef34b1bd 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -3496,7 +3496,10 @@ portwine_create_shortcut () { unset PW_SKIP_RESTART_STEAM fi - [[ "$1" != silent ]] && [[ "${PW_SKIP_RESTART_STEAM}" != 1 ]] && "${PORT_WINE_PATH}" 2>1 >/dev/null & + print_info "Restarting PP..." + export SKIP_CHECK_UPDATES=1 + /usr/bin/env bash -c ${pw_full_command_line[*]} & + exit 0 fi }