Commit 11dff461 authored by Vladislav's avatar Vladislav

Dropped PW_NO_RESTART_PPDB=1

parent f70ccc40
...@@ -5478,16 +5478,12 @@ portwine_create_shortcut () { ...@@ -5478,16 +5478,12 @@ portwine_create_shortcut () {
if [[ "$PW_NO_RESTART_PPDB" != "1" ]] ; then if [[ "$PW_NO_RESTART_PPDB" != "1" ]] ; then
print_info "Restarting PP..." print_info "Restarting PP..."
if [[ "${PW_GUI_START}" == "NOTEBOOK" ]] ; then [[ "$PW_GUI_START" == "NOTEBOOK" ]] && unset PW_YAD_FORM_TAB
unset PW_YAD_FORM_TAB
fi
restart_pp restart_pp
fi fi
elif [[ "$PW_YAD_OUT" == "2" ]] ; then elif [[ "$PW_YAD_OUT" == "2" ]] ; then
print_info "Restarting PP..." print_info "Restarting PP..."
if [[ "${PW_GUI_START}" == "NOTEBOOK" ]] ; then [[ "${PW_GUI_START}" == "NOTEBOOK" ]] && unset PW_YAD_FORM_TAB
unset PW_YAD_FORM_TAB
fi
restart_pp restart_pp
fi fi
} }
...@@ -5566,7 +5562,6 @@ pw_auto_create_shortcut () { ...@@ -5566,7 +5562,6 @@ pw_auto_create_shortcut () {
PORTPROTON_NAME="$link_name" PORTPROTON_NAME="$link_name"
export portwine_exe="$exe_path" export portwine_exe="$exe_path"
resize_png "$portwine_exe" "${PORTPROTON_NAME}" "128" resize_png "$portwine_exe" "${PORTPROTON_NAME}" "128"
export PW_NO_RESTART_PPDB=1
portwine_create_shortcut portwine_create_shortcut
fi fi
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment