fix: 修复 Rust 编译错误并成功启动 Tauri 应用

- 修复 commands.rs 中的重复导入问题
- 清理未使用的导入
- 统一 Vite 和 Tauri 配置的端口为 3000
- 添加 Tauri 前端依赖包
- 应用已成功编译并运行
This commit is contained in:
farion1231
2025-08-23 21:00:50 +08:00
parent 88e69e844a
commit 29581b85d9
7 changed files with 5145 additions and 11 deletions

View File

@@ -5,7 +5,7 @@
"identifier": "com.ccswitch.app",
"build": {
"frontendDist": "../dist",
"devUrl": "http://localhost:5173",
"devUrl": "http://localhost:3000",
"beforeDevCommand": "pnpm run dev:renderer",
"beforeBuildCommand": "pnpm run build:renderer"
},