fix: adjust paths for safesight-control location
This commit is contained in:
parent
f5d7da6fd2
commit
af7447ccad
@ -4,14 +4,14 @@ param(
|
||||
|
||||
[string]$MediaConfig = "configs/sample_cam1.json",
|
||||
[string]$VideoFile = "",
|
||||
[string]$SafesightdConfig = "..\safesight-control\safesightd.json"
|
||||
[string]$SafesightdConfig = "safesightd.json"
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$edgeDir = (Resolve-Path (Join-Path $scriptDir "..")).Path
|
||||
$controlDir = (Resolve-Path (Join-Path $edgeDir "..\safesight-control")).Path
|
||||
$controlDir = (Resolve-Path (Join-Path $scriptDir "..")).Path
|
||||
$edgeDir = (Resolve-Path (Join-Path $controlDir "..\safesight-edge")).Path
|
||||
|
||||
# ── paths ──────────────────────────────────────────────
|
||||
$mediamtx = "C:\Software\mediamtx\mediamtx.exe"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user