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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user