refactor: 简化构建脚本并确保产物正确复制

- 移除构建和开发脚本中的冗余bun run命令,直接调用tauri命令
- 在开发配置中添加对复制任务的依赖并指定输出路径,确保构建产物正确复制。
This commit is contained in:
2026-01-22 00:21:27 +08:00
parent 9aec9d2829
commit da2a7391da
2 changed files with 4 additions and 3 deletions

View File

@@ -6,7 +6,8 @@
"dependsOn": ["@furtherverse/server#compile"]
},
"dev": {
"dependsOn": ["@furtherverse/server#compile"],
"dependsOn": ["@furtherverse/server#compile", "copy"],
"outputs": ["src-tauri/target/release/**"],
"with": ["@furtherverse/server#dev"]
}
}