mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-24 00:55:35 +08:00
🚀 update run.sh Shell
This commit is contained in:
3
run.sh
3
run.sh
@@ -3,8 +3,9 @@
|
|||||||
if [[ ! -d "coolq-data" ]]; then
|
if [[ ! -d "coolq-data" ]]; then
|
||||||
mkdir coolq-data
|
mkdir coolq-data
|
||||||
fi
|
fi
|
||||||
|
sudo docker start coolq >/dev/null 2>&1
|
||||||
|
|
||||||
if [[ ! sudo docker start coolq ]]; then
|
if [[ ! $? -eq 0 ]]; then
|
||||||
echo -n "请输入你的VNC登陆密码: "
|
echo -n "请输入你的VNC登陆密码: "
|
||||||
read vnc_pwd
|
read vnc_pwd
|
||||||
echo -n "请输入你的反向ws连接地址(默认ws://127.0.0.1:20000/): "
|
echo -n "请输入你的反向ws连接地址(默认ws://127.0.0.1:20000/): "
|
||||||
|
|||||||
Reference in New Issue
Block a user