test2 import noch mit else
This commit is contained in:
parent
5a5d16ba3c
commit
2e3646128b
5
wire_g
5
wire_g
@ -77,6 +77,7 @@ import_wg(){
|
||||
--button="OK" --button=$"Cancel" \
|
||||
--width=1200 --height=800 \
|
||||
--window-icon=${wg_pic}wg-import.png \
|
||||
----filename=*.conf --no-click
|
||||
--title=$"Wireguard .conf Select file")
|
||||
|
||||
case "$wgconf" in
|
||||
@ -97,7 +98,7 @@ import_wg(){
|
||||
|
||||
else
|
||||
yad --text-align=center --button=$"OK" --title=$"Wireguard .conf Select file" \
|
||||
--image-on-top --image=${wg_pic}wg-info.png --no-click --filename=*.conf \
|
||||
--image-on-top --image=${wg_pic}wg-info.png \
|
||||
--fixed --center --buttons-layout=center --borders=8 \
|
||||
--text $"<b>Oh, something went wrong.</b> \n
|
||||
<b>No valid Wireguard file.</b> \n
|
||||
@ -107,7 +108,7 @@ import_wg(){
|
||||
fi ;;
|
||||
|
||||
*) yad --text-align=center --button=$"OK" --title=$"Wireguard .conf Select file" \
|
||||
--image-on-top --image=${wg_pic}wg-info.png --no-click --filename=*.conf \
|
||||
--image-on-top --image=${wg_pic}wg-info.png \
|
||||
--fixed --center --buttons-layout=center --borders=8 \
|
||||
--text $"<b>Oh, something went wrong.</b> \n
|
||||
<b>No valid Wireguard file.</b> \n
|
||||
|
Loading…
x
Reference in New Issue
Block a user