Require qrencode in Windows dependency installer

This commit is contained in:
Stu Leak 2026-01-04 04:25:00 -05:00
parent 67f41de0c2
commit 010e21043a

View File

@ -246,6 +246,14 @@ function Install-ViaChocolatey {
}
}
# Install qrencode
if (-not (Test-Command qrencode)) {
Write-Host "Installing qrencode..." -ForegroundColor Yellow
choco install -y qrencode
} else {
Write-Host "[OK] qrencode already installed" -ForegroundColor Green
}
Write-Host "[OK] Chocolatey installation complete" -ForegroundColor Green
}
@ -305,6 +313,14 @@ function Install-ViaScoop {
}
}
# Install qrencode
if (-not (Test-Command qrencode)) {
Write-Host "Installing qrencode..." -ForegroundColor Yellow
scoop install qrencode
} else {
Write-Host "[OK] qrencode already installed" -ForegroundColor Green
}
Write-Host "[OK] Scoop installation complete" -ForegroundColor Green
}
@ -388,6 +404,13 @@ if (Test-Command ffmpeg) {
}
}
if (Test-Command qrencode) {
Write-Host "[OK] qrencode: found" -ForegroundColor Green
} else {
Write-Host "[ERROR] qrencode not found in PATH" -ForegroundColor Red
exit 1
}
if (Test-Command dvdauthor) {
Write-Host "[OK] dvdauthor: found" -ForegroundColor Green
} else {