mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-07 04:12:43 +08:00
feat: 版本管理 + macOS提示优化 + 部署文档更新
- OpenClaw 版本管理: 安装/升级/降级/切换版本, 汉化版/原版选择 - 新增 list_openclaw_versions API (Rust + Web) - upgrade_openclaw 支持指定版本号 - 版本选择器弹窗 (about.js) - macOS Gatekeeper 提示优化: 强调拖入应用程序, No such file 备选 - 部署文档统一使用 npm run serve 替代 npx vite - showUpgradeModal 支持自定义标题 + onClose 回调 - serve.js 路径分隔符跨平台修复 - 扩展工具页面优化 + AI助手危险工具确认
This commit is contained in:
@@ -54,8 +54,8 @@ docker run -d \
|
||||
npm install -g @qingchencloud/openclaw-zh --registry https://registry.npmmirror.com && \
|
||||
openclaw init 2>/dev/null || true && \
|
||||
git clone https://github.com/qingchencloud/clawpanel.git /app && \
|
||||
cd /app && npm install && \
|
||||
npx vite --port 1420 --host 0.0.0.0"
|
||||
cd /app && npm install && npm run build && \
|
||||
npm run serve"
|
||||
```
|
||||
|
||||
访问 `http://服务器IP:1420` 即可使用。
|
||||
@@ -120,7 +120,9 @@ RUN git clone https://github.com/qingchencloud/clawpanel.git . && \
|
||||
|
||||
EXPOSE 1420
|
||||
|
||||
CMD ["npx", "vite", "--port", "1420", "--host", "0.0.0.0"]
|
||||
RUN npm run build
|
||||
|
||||
CMD ["npm", "run", "serve"]
|
||||
```
|
||||
|
||||
启动:
|
||||
@@ -151,7 +153,9 @@ RUN git clone https://github.com/qingchencloud/clawpanel.git . && \
|
||||
|
||||
EXPOSE 1420
|
||||
|
||||
CMD ["npx", "vite", "--port", "1420", "--host", "0.0.0.0"]
|
||||
RUN npm run build
|
||||
|
||||
CMD ["npm", "run", "serve"]
|
||||
```
|
||||
|
||||
构建并运行:
|
||||
|
||||
Reference in New Issue
Block a user