Finishing v3.0

This commit is contained in:
Donald Cheng Hong Zou
2021-12-27 21:01:02 -05:00
parent e42ecf3c99
commit d254b4cc39
8 changed files with 250 additions and 80 deletions

View File

@@ -46,9 +46,9 @@ install_wgd(){
then mkdir "log"
fi
printf "| Upgrading pip |\n"
python3 -m pip install -U pip
python3 -m pip install -U pip > /dev/null 2>&1
printf "| Installing latest Python dependencies |\n"
python3 -m pip install -U -r requirements.txt
python3 -m pip install -U -r requirements.txt > /dev/null 2>&1
printf "| WGDashboard installed successfully! |\n"
printf "| Enter ./wgd start to start the dashboard |\n"
}
@@ -102,9 +102,9 @@ update_wgd() {
git pull
# git pull https://github.com/donaldzou/wireguard-dashboard.git $new_ver --force > /dev/null 2>&1
printf "| Upgrading pip |\n"
python3 -m pip install -U pip
python3 -m pip install -U pip > /dev/null 2>&1
printf "| Installing latest Python dependencies |\n"
python3 -m pip install -U -r requirements.txt
python3 -m pip install -U -r requirements.txt > /dev/null 2>&1
printf "| Update Successfully! |\n"
printf "%s\n" "$dashes"
rm wgd.sh.old