forked from CastroFidel/PortWINE
Update restart_pp function
This commit is contained in:
@ -625,16 +625,13 @@ combobox_fix () {
|
||||
restart_pp () {
|
||||
if [[ -n "$1" ]] ; then
|
||||
if [[ "$1" == "--userconf" ]] ; then
|
||||
/usr/bin/env bash -c "${pw_full_command_line[0]} --gui_userconf" &
|
||||
exit 0
|
||||
export RESTART_PP_USED="userconf"
|
||||
elif [[ "$1" == "--edit_db" ]] ; then
|
||||
/usr/bin/env bash -c "${pw_full_command_line[0]} --gui_edit_db" &
|
||||
exit 0
|
||||
export RESTART_PP_USED="edit_db"
|
||||
fi
|
||||
else
|
||||
/usr/bin/env bash -c ${pw_full_command_line[@]} &
|
||||
exit 0
|
||||
fi
|
||||
/usr/bin/env bash -c ${pw_full_command_line[@]} &
|
||||
exit 0
|
||||
}
|
||||
|
||||
pw_clear_pfx () {
|
||||
|
Reference in New Issue
Block a user