fix QuickSync final
This commit is contained in:
+17
-1
@@ -13,6 +13,22 @@ call bun install
|
||||
popd
|
||||
|
||||
echo === Ensuring client dependencies (Go) ===
|
||||
if not exist "%ROOT%Overlord-Client\third_party\nvcodec\nvEncodeAPI.h" (
|
||||
echo [client] NVIDIA NVENC headers are missing; fetching them...
|
||||
call "%SCRIPT_DIR%vendor-nvcodec-headers.bat"
|
||||
if errorlevel 1 (
|
||||
echo [client] Failed to provision NVIDIA NVENC headers.
|
||||
exit /b 1
|
||||
)
|
||||
)
|
||||
if not exist "%ROOT%Overlord-Client\third_party\amf\include\core\Factory.h" (
|
||||
echo [client] AMD AMF headers are missing; fetching them...
|
||||
call "%SCRIPT_DIR%vendor-amf-headers.bat"
|
||||
if errorlevel 1 (
|
||||
echo [client] Failed to provision AMD AMF headers.
|
||||
exit /b 1
|
||||
)
|
||||
)
|
||||
if not exist "%ROOT%Overlord-Client\third_party\onevpl\include\vpl\mfxdispatcher.h" (
|
||||
echo [client] Intel oneVPL headers are missing; fetching them...
|
||||
call "%SCRIPT_DIR%vendor-onevpl-headers.bat"
|
||||
@@ -39,7 +55,7 @@ set CGO_ENABLED=1
|
||||
|
||||
start "Overlord-Server" cmd /k "cd /d ""%ROOT%Overlord-Server"" && set OVERLORD_DISABLE_AGENT_AUTH=true && set OVERLORD_AGENT_TOKEN=dev-token-insecure-local-only && set LOG_LEVEL=debug && set NODE_ENV=development && bun run dev"
|
||||
timeout /t 3 /nobreak >nul
|
||||
start "Overlord-Client" cmd /k "cd /d ""%ROOT%Overlord-Client"" && set CGO_ENABLED=1 && set OVERLORD_SERVER=wss://localhost:5173 && set OVERLORD_AGENT_TOKEN=dev-token-insecure-local-only && set OVERLORD_TLS_INSECURE_SKIP_VERIFY=true && set OVERLORD_MODE=dev && set OVERLORD_CAPTURE_METRICS=true && set GOINSECURE=* && set GOSUMDB=off && set GOPROXY=https://proxy.golang.org,direct && go mod tidy && go run ./cmd/agent"
|
||||
start "Overlord-Client" cmd /k "cd /d ""%ROOT%Overlord-Client"" && set CGO_ENABLED=1&& set OVERLORD_SERVER=wss://localhost:5173&& set OVERLORD_AGENT_TOKEN=dev-token-insecure-local-only&& set OVERLORD_TLS_INSECURE_SKIP_VERIFY=true&& set OVERLORD_MODE=dev&& set OVERLORD_CAPTURE_METRICS=true&& set GOINSECURE=*&& set GOSUMDB=off&& set GOPROXY=https://proxy.golang.org,direct&& go mod tidy && go run ./cmd/agent"
|
||||
|
||||
echo Done. Terminals stay open (/k) for logs.
|
||||
endlocal
|
||||
|
||||
Reference in New Issue
Block a user