chore(build): 更新 Windows 构建脚本

- 使用 npm run build 替代 build:web
- 修复路径问题
This commit is contained in:
李岩岩 2026-02-05 12:42:04 +08:00
parent 7bef512b07
commit 4f47258b17

View File

@ -38,7 +38,6 @@ if (Test-Path "dist-web/api") {
Remove-Item "dist-web/api" -Recurse -Force
}
Copy-Item -Path "public/api" -Destination "dist-web/api" -Recurse -Force
Set-Location ..
# 步骤2: 安装依赖
Write-Host "📦 步骤 2/4: 安装 Tauri 依赖..." -ForegroundColor Cyan