fix(scripts/windows): keep deploy-host.ps1 pure ASCII (em-dash -> hyphen)

Two comment em-dashes I added tripped the installer-run ASCII guard (PS 5.1
mis-parses non-ASCII on non-UTF-8 locales).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 15:09:17 +00:00
parent 550b02c8ff
commit aa6f2380b9
+2 -2
View File
@@ -43,7 +43,7 @@ foreach ($k in 'LIBCLANG_PATH','CMAKE_POLICY_VERSION_MINIMUM') {
# All-vendor build when an FFmpeg dev tree is available (BtbN lgpl-shared: include/ + lib/ + bin/):
# nvenc alone otherwise. Without amf-qsv a GPU preference pointing at an AMD/Intel adapter makes
# every session die at encoder open (NV_ENC_ERR_NO_ENCODE_DEVICE) the exact "can't connect"
# every session die at encoder open (NV_ENC_ERR_NO_ENCODE_DEVICE) - the exact "can't connect"
# field failure on hybrid boxes.
$features = 'nvenc'
if (-not $env:FFMPEG_DIR) {
@@ -78,7 +78,7 @@ if (-not $built) {
throw "build failed; previous binary restored and service restarted."
}
# 3b. the AMF/QSV backend link-imports the FFmpeg DLLs lay them next to the exe (the installer
# 3b. the AMF/QSV backend link-imports the FFmpeg DLLs - lay them next to the exe (the installer
# does the same into {app}); idempotent, and harmless for the NVENC path.
if ($features -like '*amf-qsv*') {
Copy-Item (Join-Path $env:FFMPEG_DIR 'bin\*.dll') (Split-Path $exe) -Force