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
|
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 () {
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user