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

@@ -7,10 +7,13 @@ export default defineConfig({
root: resolve(__dirname, 'src/renderer'),
base: './',
build: {
outDir: resolve(__dirname, 'dist/renderer'),
outDir: resolve(__dirname, 'build'),
emptyOutDir: true
},
server: {
port: 3000
}
port: 3000,
strictPort: true
},
clearScreen: false,
envPrefix: ['VITE_', 'TAURI_']
})