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

@ -11,6 +11,10 @@ clear && echo '
'
########################################################################
[ $(id -u) = 0 ] && echo "Do not run this script as root!" && zenity --error --text "Do not run this script as root!" && exit 1
if [ "${s_install}" != "1" ] && [ ! -x "`which "zenity" 2>/dev/null`" ];then
echo "You will need to install: zenity, and restart the port."
xdg-open "http://portwine-linux.ru/portwine-faq/" > /dev/null 2>&1 & exit 0
fi
########################################################################
sszen() {
zenity --progress --title="Settings..." --text="Updating start parameters" --pulsate --auto-close --auto-kill --width=450