sharween commited on
Commit
7ca3375
·
verified ·
1 Parent(s): f700426

Update start-openclaw.sh

Browse files
Files changed (1) hide show
  1. start-openclaw.sh +4 -5
start-openclaw.sh CHANGED
@@ -64,12 +64,11 @@ if [[ -d "$WEIXIN_DIR" && -n "$(ls -A "$WEIXIN_DIR" 2>/dev/null)" ]]; then
64
 
65
 
66
  # 启用插件和 channel
67
- openclaw plugins install "@tencent-weixin/openclaw-weixin" --silent || true
68
- openclaw config set plugins.entries.openclaw-weixin.enabled true || true
69
- openclaw channels enable openclaw-weixin 2>/dev/null || true
70
 
71
- echo "⚠️ 如果还是弹出二维码,请在 Logs 中扫码一次(这是 HF Space 环境限制)"
72
- else
73
  echo "📦 首次安装微信插件(需要扫码)..."
74
  npx -y @tencent-weixin/openclaw-weixin-cli@latest install
75
  fi
 
64
 
65
 
66
  # 启用插件和 channel
67
+ #openclaw plugins install "@tencent-weixin/openclaw-weixin" --silent || true
68
+ #openclaw config set plugins.entries.openclaw-weixin.enabled true || true
69
+ #openclaw channels enable openclaw-weixin 2>/dev/null || true
70
 
71
+ else
 
72
  echo "📦 首次安装微信插件(需要扫码)..."
73
  npx -y @tencent-weixin/openclaw-weixin-cli@latest install
74
  fi