chore: 更新构建脚本,清理旧二进制文件并复制资源

- 更新构建和开发脚本,确保在构建和开发前先清理旧的二进制文件并执行复制操作。
This commit is contained in:
2026-01-21 23:50:46 +08:00
parent 96705e965d
commit 4710166942

View File

@@ -4,9 +4,9 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "tauri build", "build": "bun run copy && tauri build",
"copy": "bun copy.ts", "copy": "rm -rf binaries && bun --bun copy.ts",
"dev": "tauri dev" "dev": "bun run copy && tauri dev"
}, },
"devDependencies": { "devDependencies": {
"@effect/schema": "catalog:", "@effect/schema": "catalog:",