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 {