Add runtime encoder compatibility validation
This commit is contained in:
1 parent
f11e636826
commit
4adf42cc4c
5 files changed
+1345
-90
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
repo_root="$(git rev-parse --show-toplevel)"
|
||||
script_path="$repo_root/screen-rtsp.ps1"
|
||||
config_path="$repo_root/config.ini"
|
||||
|
||||
if ! command -v powershell.exe >/dev/null 2>&1; then
|
||||
echo "ScreenRTSP: powershell.exe를 찾을 수 없어 config.ini 자동 기록 정보를 제거할 수 없습니다." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$script_path" \
|
||||
-ConfigPath "$config_path" -ResetManagedInfo >/dev/null
|
||||
git add -- "$config_path"
|
||||
|
||||
Reference in new issue
Block a user