feat: configure Tauri build system and app metadata

- Update Vite config for Tauri integration
- Configure package.json scripts for Tauri commands
- Generate multi-platform app icons
- Update app metadata and window configuration
This commit is contained in:
farion1231
2025-08-23 20:05:50 +08:00
parent 1b0ab269fb
commit 3479780639
53 changed files with 21 additions and 15 deletions

View File

@@ -1,8 +1,8 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "cc-switch",
"version": "0.1.0",
"identifier": "com.tauri.dev",
"productName": "CC Switch",
"version": "3.0.0-beta.1",
"identifier": "com.ccswitch.app",
"build": {
"frontendDist": "../build",
"devUrl": "http://localhost:3000",
@@ -12,9 +12,11 @@
"app": {
"windows": [
{
"title": "cc-switch",
"width": 800,
"height": 600,
"title": "CC Switch - Claude Code 供应商切换工具",
"width": 900,
"height": 650,
"minWidth": 800,
"minHeight": 600,
"resizable": true,
"fullscreen": false
}