- 修复 commands.rs 中的重复导入问题 - 清理未使用的导入 - 统一 Vite 和 Tauri 配置的端口为 3000 - 添加 Tauri 前端依赖包 - 应用已成功编译并运行
40 lines
863 B
JSON
40 lines
863 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "CC Switch",
|
|
"version": "3.0.0-beta.1",
|
|
"identifier": "com.ccswitch.app",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:3000",
|
|
"beforeDevCommand": "pnpm run dev:renderer",
|
|
"beforeBuildCommand": "pnpm run build:renderer"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "CC Switch - Claude Code 供应商切换工具",
|
|
"width": 900,
|
|
"height": 650,
|
|
"minWidth": 800,
|
|
"minHeight": 600,
|
|
"resizable": true,
|
|
"fullscreen": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
}
|
|
}
|