mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-10 17:04:06 +08:00
Update wgd.sh
This commit is contained in:
parent
6f91d199d8
commit
a6eaf30c2b
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@ help () {
|
|||
}
|
||||
|
||||
install_wgd(){
|
||||
printf $dashes
|
||||
# Check Python3 version
|
||||
version_pass=$(python3 -c 'import sys; print("1") if (sys.version_info.major == 3 and sys.version_info.minor >= 7) else print("0");')
|
||||
if [ $version_pass == "0" ]
|
||||
|
@ -33,6 +34,7 @@ install_wgd(){
|
|||
printf "| Wireguard Dashboard installed successfully! |\n"
|
||||
printf "| Starting Dashboard |\n"
|
||||
start_wgd
|
||||
printf $dashes
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue