From 11dff46137def08a441996af8000b6b95c87fb30 Mon Sep 17 00:00:00 2001 From: Htylol Date: Mon, 7 Oct 2024 19:56:39 +0500 Subject: [PATCH] Dropped PW_NO_RESTART_PPDB=1 --- data_from_portwine/scripts/functions_helper | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 8aced369..da2a69bf 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -5478,16 +5478,12 @@ portwine_create_shortcut () { if [[ "$PW_NO_RESTART_PPDB" != "1" ]] ; then print_info "Restarting PP..." - if [[ "${PW_GUI_START}" == "NOTEBOOK" ]] ; then - unset PW_YAD_FORM_TAB - fi + [[ "$PW_GUI_START" == "NOTEBOOK" ]] && unset PW_YAD_FORM_TAB restart_pp fi elif [[ "$PW_YAD_OUT" == "2" ]] ; then print_info "Restarting PP..." - if [[ "${PW_GUI_START}" == "NOTEBOOK" ]] ; then - unset PW_YAD_FORM_TAB - fi + [[ "${PW_GUI_START}" == "NOTEBOOK" ]] && unset PW_YAD_FORM_TAB restart_pp fi } @@ -5566,7 +5562,6 @@ pw_auto_create_shortcut () { PORTPROTON_NAME="$link_name" export portwine_exe="$exe_path" resize_png "$portwine_exe" "${PORTPROTON_NAME}" "128" - export PW_NO_RESTART_PPDB=1 portwine_create_shortcut fi done