diff --git a/requirements.txt b/requirements.txt index ccc1c7b7..3637e2d0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,6 +9,7 @@ agentmesh-sdk>=0.1.3 python-dotenv>=1.0.0 PyYAML>=6.0 croniter>=2.0.0 +click>=8.0 qrcode # wechatcom & wechatmp diff --git a/run.sh b/run.sh index 6a09d8e2..607b89c3 100755 --- a/run.sh +++ b/run.sh @@ -590,7 +590,11 @@ start_project() { echo -e " ${GREEN}./run.sh status${NC} Check status" echo -e " ${GREEN}./run.sh logs${NC} View logs" fi - echo -e " ${GREEN}./run.sh update${NC} Update and restart" + if $USE_COW; then + echo -e " ${GREEN}cow update${NC} Update and restart" + else + echo -e " ${GREEN}./run.sh update${NC} Update and restart" + fi echo -e "${CYAN}${BOLD}=========================================${NC}" echo ""