Commit 8700a2c8 authored by Mikhail Tergoev's avatar Mikhail Tergoev

###Scripts version 2002###

parent 7415dcbc
......@@ -9,6 +9,9 @@
* добавить комментарии описывающие функционал скриптов
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
-----------------------------------------
###Scripts version 2002###
* HOTFIX для настройки db файлов
###Scripts version 2001###
* добавлен графический интерфейс для настройки db файлов
......
......@@ -618,8 +618,11 @@ pw_gui_for_edit_db () {
output_yad_edit_db=`"${pw_yad}" --title "EDIT_DB" --text-align=center --text "Change settings in database file for ${PORTWINE_DB}\n" \
--columns=4 --form --separator=" " --borders=10 --center ${ADD_CHK_BOX_EDIT_DB} `
YAD_STATUS="$?"
[ "$YAD_STATUS" == "1" ] && exit 0
[ "$YAD_STATUS" == "252" ] && xdg-open "${PORTWINE_DB_FILE}" & exit 0
if [ "$YAD_STATUS" == "1" ] ; then exit 0
elif [ "$YAD_STATUS" == "252" ] ; then
xdg-open "${PORTWINE_DB_FILE}" &
exit 0
fi
export output_yad_edit_db=($output_yad_edit_db)
export bool_from_yad=0
edit_db_field_read () {
......
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