Update start-openclaw.sh
Browse files- 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 |
-
|
| 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
|