From 010e21043ae3f4399496d5020ae780705751a001 Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Sun, 4 Jan 2026 04:25:00 -0500 Subject: [PATCH] Require qrencode in Windows dependency installer --- scripts/install-deps-windows.ps1 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/scripts/install-deps-windows.ps1 b/scripts/install-deps-windows.ps1 index 6460c86..b1f6f6c 100644 --- a/scripts/install-deps-windows.ps1 +++ b/scripts/install-deps-windows.ps1 @@ -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 {