更新 Tauri 配置,调整开发命令和 URL,增强应用启动逻辑

This commit is contained in:
2025-12-23 13:04:27 +08:00
parent f6b2c74d2d
commit 798df0dedd
3 changed files with 20 additions and 3 deletions

View File

@@ -4,8 +4,8 @@
"version": "0.1.0",
"identifier": "com.xiong.tauri-template",
"build": {
"beforeDevCommand": "bun run dev",
"devUrl": "http://localhost:1420",
"beforeDevCommand": "",
"devUrl": "http://localhost:51515/root/light-code-center/",
"beforeBuildCommand": "bun run build",
"frontendDist": "../dist"
},