refactor(desktop): 从 Tauri 迁移到 Electrobun

- 移除 Tauri v2 代码 (src-tauri/, copy.ts)
- 添加 Electrobun 配置和入口 (electrobun.config.ts, src/bun/index.ts)
- 更新 package.json 使用 catalog 管理 electrobun 依赖
- 移除 server 中的 @tauri-apps/api 依赖
- 更新 AGENTS.md 文档
This commit is contained in:
2026-02-07 05:04:53 +08:00
parent 9aa3b46ee5
commit 29969550ed
38 changed files with 332 additions and 6296 deletions

View File

@@ -39,8 +39,7 @@
"@tanstack/react-router-devtools": "^1.158.1",
"@tanstack/react-router-ssr-query": "^1.158.1",
"@tanstack/react-start": "^1.158.3",
"@tauri-apps/api": "^2.10.1",
"@tauri-apps/cli": "^2.10.0",
"electrobun": "^1.11.5-beta.5",
"@types/bun": "^1.3.8",
"@vitejs/plugin-react": "^5.1.3",
"babel-plugin-react-compiler": "^1.0.0",