NavisworksTransport/run-ground-virtual-collision-test.bat
tian 488e69d27a fix: 脚本统一用 pwsh 替代 powershell,MSTest adapter 动态查找
- start-navisworks.bat / run-ground-virtual-collision-test.bat:
  powershell → pwsh(避免依赖 shim/PS5.1,UTF-8 中文输出更可靠)
- deploy-plugin.bat 提权兜底:PowerShell → pwsh(内外一致)
- run-unit-tests.bat:MSTest adapter 路径硬编码 3.0.4 → 通配符动态查找
  (包升级后不再失效)
2026-08-02 20:41:18 +08:00

8 lines
159 B
Batchfile

@echo off
setlocal
pwsh -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\run-ground-virtual-collision-test.ps1" %*
if errorlevel 1 exit /b 1
exit /b 0