Added silent installation

This commit is contained in:
castro-fidel
2020-12-03 22:41:55 +03:00
parent 5c369f4ee4
commit 999b4592be
12 changed files with 25 additions and 13 deletions

View File

@ -118,4 +118,10 @@ if [ -f "${PORT_WINE_PATH}/restart.desktop" ]; then
fi
update-desktop-database -q "${HOME}/.local/share/applications"
xdg-open "http://portwine-linux.ru/portwine-faq/" > /dev/null 2>&1 & exit 0
if [ "${s_install}" = "1" ]; then
echo "Installation completed successfully."
else
`zenity --info --title "${inst_set_top}" --text "${inst_succ}" --no-wrap ` > /dev/null 2>&1
xdg-open "http://portwine-linux.ru/portwine-faq/" > /dev/null 2>&1 & exit 0
fi