forked from CastroFidel/PortWINE
Dropped PW_NO_RESTART_PPDB=1
This commit is contained in:
parent
f70ccc402c
commit
11dff46137
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user