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

@@ -0,0 +1,14 @@
import type { ElectrobunConfig } from 'electrobun'
export default {
app: {
name: 'Furtherverse',
identifier: 'com.imbytecat.furtherverse',
version: '0.1.0',
},
build: {
bun: {
entrypoint: 'src/bun/index.ts',
},
},
} satisfies ElectrobunConfig