feat(v2): add CMD release packaging entrypoint
This commit is contained in:
@@ -17,6 +17,19 @@
|
||||
-OutputDirectory <empty-release-folder>
|
||||
```
|
||||
|
||||
若操作者使用 `cmd.exe`,可使用同一目录的批处理入口;它只转发相同的五个参数给上述 PowerShell 脚本,并返回相同的成功或失败退出码:
|
||||
|
||||
```bat
|
||||
scripts\build-v2-release.bat ^
|
||||
-OnnxPath <locked-best.onnx> ^
|
||||
-OrtDllPath <release-onnxruntime.dll> ^
|
||||
-FfmpegPath <ffmpeg.exe> ^
|
||||
-FfprobePath <ffprobe.exe> ^
|
||||
-OutputDirectory <empty-release-folder>
|
||||
```
|
||||
|
||||
不要双击 `.bat` 文件;必须从已打开的 `cmd.exe` 或 PowerShell 调用,以便核对参数错误和生成结果。
|
||||
|
||||
发布目录包含 `silver-pose.exe`、`runtime/`、公开 `config.example.json`、本手册和运行时哈希清单。不要把真实摄像头地址、密码、客户录像、事件截图或本机 `config.local.json` 放进发布目录。
|
||||
|
||||
## 本机安全配置
|
||||
|
||||
Reference in New Issue
Block a user