🔧 问题修复: - 修复窗口拖拽功能不可用问题 - 修复窗口最小化/最大化/关闭按钮不工作问题 - 优化 Tauri 窗口配置 🛠️ 技术改进: - 更新 TitleBar 组件,使用正确的 Tauri v2 API - 添加错误处理和状态管理 - 设置正确的拖拽区域 (data-tauri-drag-region) - 优化窗口配置 (decorations: false, titleBarStyle: Overlay) ✨ 功能特性: - 自定义标题栏设计 - 响应式窗口控制按钮 - 窗口状态实时同步 - 现代化 UI 设计 📋 测试说明: - 在有 GUI 环境中测试拖拽功能 - 验证所有窗口控制按钮正常工作 - 确认窗口大小限制生效
59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"name": "mixvideo-v2",
|
|
"version": "2.0.0",
|
|
"description": "Modern video editing software with Tauri and Python",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri",
|
|
"tauri:dev": "tauri dev",
|
|
"tauri:build": "tauri build",
|
|
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
|
|
"lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
|
|
"format": "prettier --write src/**/*.{js,jsx,ts,tsx,css,md}"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.0.0",
|
|
"@tauri-apps/plugin-dialog": "^2.0.0",
|
|
"@tauri-apps/plugin-fs": "^2.0.0",
|
|
"@tauri-apps/plugin-shell": "^2.0.0",
|
|
"@tauri-apps/plugin-window": "2.0.0-alpha.1",
|
|
"clsx": "^2.0.0",
|
|
"lucide-react": "^0.263.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.15.0",
|
|
"tailwind-merge": "^1.14.0",
|
|
"zustand": "^4.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2.0.0",
|
|
"@types/react": "^18.2.15",
|
|
"@types/react-dom": "^18.2.7",
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
"@typescript-eslint/parser": "^6.0.0",
|
|
"@vitejs/plugin-react": "^4.0.3",
|
|
"autoprefixer": "^10.4.14",
|
|
"eslint": "^8.45.0",
|
|
"eslint-plugin-react": "^7.32.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-react-refresh": "^0.4.3",
|
|
"postcss": "^8.4.27",
|
|
"prettier": "^3.0.0",
|
|
"tailwindcss": "^3.3.0",
|
|
"typescript": "^5.0.2",
|
|
"vite": "^4.4.5"
|
|
},
|
|
"keywords": [
|
|
"video-editing",
|
|
"tauri",
|
|
"react",
|
|
"python",
|
|
"desktop-app"
|
|
],
|
|
"author": "MixVideo Team",
|
|
"license": "MIT"
|
|
}
|