Improve FFmpeg binary check output in Windows build

Changed status messages for FFmpeg, ffprobe, and ffplay binary checks to use '[OK]' and '[ERROR]' prefixes for clearer log output in the Windows build workflow.
This commit is contained in:
Your Name
2025-08-27 03:01:00 +03:00
parent 8c27c73570
commit 4b7e701613
+15 -3
View File
@@ -124,9 +124,21 @@ jobs:
$ffprobeExe = Join-Path $ffmpegBinPath "ffprobe.exe" $ffprobeExe = Join-Path $ffmpegBinPath "ffprobe.exe"
$ffplayExe = Join-Path $ffmpegBinPath "ffplay.exe" $ffplayExe = Join-Path $ffmpegBinPath "ffplay.exe"
if (Test-Path $ffmpegExe) { Write-Host "✓ ffmpeg.exe found" } else { Write-Host "✗ ffmpeg.exe missing" } if (Test-Path $ffmpegExe) {
if (Test-Path $ffprobeExe) { Write-Host "✓ ffprobe.exe found" } else { Write-Host "✗ ffprobe.exe missing" } Write-Host "[OK] ffmpeg.exe found"
if (Test-Path $ffplayExe) { Write-Host "✓ ffplay.exe found" } else { Write-Host "✗ ffplay.exe missing" } } else {
Write-Host "[ERROR] ffmpeg.exe missing"
}
if (Test-Path $ffprobeExe) {
Write-Host "[OK] ffprobe.exe found"
} else {
Write-Host "[ERROR] ffprobe.exe missing"
}
if (Test-Path $ffplayExe) {
Write-Host "[OK] ffplay.exe found"
} else {
Write-Host "[ERROR] ffplay.exe missing"
}
} else { } else {
Write-Host "Error: Could not find FFmpeg directory after extraction" Write-Host "Error: Could not find FFmpeg directory after extraction"
exit 1 exit 1