update start.sh
This commit is contained in:
parent
d750ca9f17
commit
b8a59b4d5f
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
#wget -O- -q --show-progress https://git.nps.crabapples.cn/crabapples/learn-spider/raw/branch/main/bin/auto_install.sh | bash
|
||||
# wget -q --show-progress https://git.nps.crabapples.cn/crabapples/learn-spider/raw/branch/main/bin/close_vnc.sh && chmod +x close_vnc.sh
|
||||
|
||||
SECOND=5
|
||||
GIT_DOMAIN=https://git.nps.crabapples.cn
|
||||
echo "清理旧脚本..."
|
||||
|
||||
|
|
@ -27,7 +27,6 @@ echo "下载卸载脚本..."
|
|||
wget -q --show-progress $GIT_DOMAIN/crabapples/learn-spider/raw/branch/main/bin/uninstall.sh && chmod +x uninstall.sh
|
||||
|
||||
echo "下载完成"
|
||||
echo "开始安装..."
|
||||
|
||||
USER_COUNT=10
|
||||
# 公共的工作目录
|
||||
|
|
@ -37,6 +36,12 @@ GIT_NO_VNC="$GIT_DOMAIN/crabapples/noVNC.git"
|
|||
GIT_WEBSOCKIFY="$GIT_DOMAIN/crabapples/websockify.git"
|
||||
GIT_PY_SPIDER="$GIT_DOMAIN/crabapples/learn-spider.git"
|
||||
|
||||
for i in $(seq 1 $SECOND); do
|
||||
clear
|
||||
echo "脚本下载完成$(($SECOND-$i))S后开始自动安装...."
|
||||
sleep 1
|
||||
done
|
||||
|
||||
./install.sh $USER_COUNT $PUBLIC_DIR $GIT_NO_VNC $GIT_WEBSOCKIFY $GIT_PY_SPIDER
|
||||
echo "安装完成"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue