This commit is contained in:
flucout 2023-12-18 16:11:14 +08:00
parent 4c76ec2056
commit f81cd68e80
4 changed files with 2 additions and 1 deletions

View File

@ -806,6 +806,7 @@ Set_Bt_Panel(){
/www/server/panel/pyenv/bin/pip3 install flask -U /www/server/panel/pyenv/bin/pip3 install flask -U
/www/server/panel/pyenv/bin/pip3 install flask-sock /www/server/panel/pyenv/bin/pip3 install flask-sock
btpip install simple-websocket==0.10.0 btpip install simple-websocket==0.10.0
btpip install natsort
auth_path=$(cat ${admin_auth}) auth_path=$(cat ${admin_auth})
cd ${setup_path}/server/panel/ cd ${setup_path}/server/panel/
if [ "$SET_SSL" == true ]; then if [ "$SET_SSL" == true ]; then

Binary file not shown.

View File

@ -71,7 +71,7 @@ rm -f /www/server/panel/*.pyc
rm -f /www/server/panel/class/*.pyc rm -f /www/server/panel/class/*.pyc
#pip install flask_sqlalchemy #pip install flask_sqlalchemy
#pip install itsdangerous==0.24 #pip install itsdangerous==0.24
btpip install natsort
pip_list=$($mypip list) pip_list=$($mypip list)
request_v=$(btpip list 2>/dev/null|grep "requests "|awk '{print $2}'|cut -d '.' -f 2) request_v=$(btpip list 2>/dev/null|grep "requests "|awk '{print $2}'|cut -d '.' -f 2)
if [ "$request_v" = "" ] || [ "${request_v}" -gt "28" ];then if [ "$request_v" = "" ] || [ "${request_v}" -gt "28" ];then