集成旋转底座、机械臂示教与坐标系,完善扫描参数、电量和框架点复用。增加组合执行、步骤进度与日志,优化首屏和流程画布性能,修复表头主题适配,并保留验证脚本和回归测试。
20 lines
444 B
PowerShell
20 lines
444 B
PowerShell
param(
|
|
[switch]$Dev,
|
|
[switch]$SkipBuild
|
|
)
|
|
|
|
$ErrorActionPreference = 'Stop'
|
|
$taskRoot = Split-Path -Parent $PSScriptRoot
|
|
Set-Location (Join-Path $taskRoot 'am-web')
|
|
if ($Dev) {
|
|
pnpm dev
|
|
} else {
|
|
if (-not $SkipBuild) {
|
|
pnpm build:local
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
}
|
|
# Same origin and port as development; preview inherits API/stream/WS proxy.
|
|
pnpm exec vite preview --mode env.local
|
|
}
|
|
exit $LASTEXITCODE
|