feat: 完成前端窗口控制和配置适配

- 更新 tauri.conf.json 配置正确的前端构建路径
- 调整开发服务器端口为 Vite 默认端口 5173
- 添加 Tauri 前端依赖包
- 窗口拖拽样式已兼容
This commit is contained in:
farion1231
2025-08-23 20:41:14 +08:00
parent 1402fd0cc5
commit 2a658af5b9
3 changed files with 15 additions and 4 deletions

View File

@@ -4,10 +4,10 @@
"version": "3.0.0-beta.1",
"identifier": "com.ccswitch.app",
"build": {
"frontendDist": "../build",
"devUrl": "http://localhost:3000",
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build"
"frontendDist": "../dist",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "pnpm run dev:renderer",
"beforeBuildCommand": "pnpm run build:renderer"
},
"app": {
"windows": [