fix about

This commit is contained in:
Désiré Werner Menrath 2023-11-19 11:21:45 +01:00
parent e24f1c770f
commit 5da754df62

11
wire_g
View File

@ -184,7 +184,8 @@ up_or_down(){
# function button "about"
about(){
if AUTOSTART=$(grep 'TRUE TRUE' ${WG_WDIR}about.txt)
if grep 'TRUE TRUE' ${WG_WDIR}about.txt
then
yad --form --fixed \
--borders=8 --buttons-layout=center --text-align=center \
@ -200,7 +201,7 @@ about(){
<span color='#626ff1'><b>Use without warranty.</b></span> \n
<a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \n" &> ${WG_WDIR}about.txt
if AUTOSTART=$(grep 'FALSE TRUE' ${WG_WDIR}about.txt)
elif grep 'FALSE TRUE' ${WG_WDIR}about.txt
then
yad --form --fixed \
--borders=8 --buttons-layout=center --text-align=center \
@ -216,7 +217,7 @@ about(){
<span color='#626ff1'><b>Use without warranty.</b></span> \n
<a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \n" &> ${WG_WDIR}about.txt
if AUTOSTART=$(grep 'FALSE FALSE' ${WG_WDIR}about.txt)
elif grep 'FALSE FALSE' ${WG_WDIR}about.txt
then
yad --form --fixed \
--borders=8 --buttons-layout=center --text-align=center \
@ -232,7 +233,7 @@ about(){
<span color='#626ff1'><b>Use without warranty.</b></span> \n
<a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \n" &> ${WG_WDIR}about.txt
if AUTOSTART=$(grep 'TRUE FALSE' ${WG_WDIR}about.txt)
elif grep 'TRUE FALSE' ${WG_WDIR}about.txt
then
yad --form --fixed \
--borders=8 --buttons-layout=center --text-align=center \
@ -248,6 +249,8 @@ about(){
<span color='#626ff1'><b>Use without warranty.</b></span> \n
<a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \n" &> ${WG_WDIR}about.txt
fi
}
# function end