Require qrencode in Windows dependency installer
This commit is contained in:
parent
a9926dbdfc
commit
6c95ef07a9
|
|
@ -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
|
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
|
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) {
|
if (Test-Command dvdauthor) {
|
||||||
Write-Host "[OK] dvdauthor: found" -ForegroundColor Green
|
Write-Host "[OK] dvdauthor: found" -ForegroundColor Green
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user