feat: Windows 兼容性全面改进

- Windows Gateway 启动改为前台 spawn 模式(绕过 schtasks 管理员权限)
- 添加全局 Gateway 未启动引导横幅(黄色提示条 + 一键启动按钮)
- 所有页面加载动画改为脉冲效果
- 统一 Windows cmd /c 调用加 CREATE_NO_WINDOW 标志
- 托盘菜单复用 service.rs 逻辑
- 新增 utils.rs 封装 openclaw_command
- 修复 config 文件 UI 字段污染问题
- 添加 dev.ps1 启动脚本
This commit is contained in:
晴天
2026-03-02 13:00:16 +08:00
parent 5352337eaa
commit 53f46d8ef2
64 changed files with 4260 additions and 451 deletions

View File

@@ -1,9 +1,7 @@
<p align="center">
<img src="public/images/logo.svg" width="120" alt="ClawPanel Logo">
<img src="public/images/logo-brand.png" width="360" alt="ClawPanel">
</p>
<h1 align="center">ClawPanel</h1>
<p align="center">
OpenClaw 可视化管理面板 — 基于 Tauri v2 的跨平台桌面应用
</p>
@@ -72,7 +70,7 @@ ClawPanel 是 [OpenClaw](https://github.com/openclaw-labs/openclaw) AI Agent 框
## 功能截图
> 截图待补充
> 截图待补充 — 欢迎提交 PR 补充各页面截图
## 技术架构
@@ -122,7 +120,11 @@ clawpanel/
git clone https://github.com/qingchencloud/clawpanel.git
cd clawpanel
npm install
```
#### macOS / Linux
```bash
# 启动完整 Tauri 桌面应用
./scripts/dev.sh
@@ -130,8 +132,20 @@ npm install
./scripts/dev.sh web
```
#### Windows
```powershell
# 启动完整 Tauri 桌面应用
npm run tauri dev
# 仅启动 Vite 前端(浏览器调试,使用 mock 数据)
npm run dev
```
### 构建
#### macOS / Linux
```bash
# 编译 debug 版本
./scripts/build.sh
@@ -143,6 +157,21 @@ npm install
./scripts/build.sh release
```
#### Windows
```powershell
# 检查 Rust 编译
cd src-tauri && cargo check
# 编译正式发布版本
npm run tauri build
# 指定打包格式NSIS 安装器)
npm run tauri build -- --bundles nsis
```
产物位于 `src-tauri/target/release/` 目录。
## 相关项目
| 项目 | 说明 |