123
This commit is contained in:
@@ -18,7 +18,7 @@ foreach ($pkg in $packageList) {
|
|||||||
"install" {
|
"install" {
|
||||||
Write-Host "Installing $pkg..." -ForegroundColor Cyan
|
Write-Host "Installing $pkg..." -ForegroundColor Cyan
|
||||||
try {
|
try {
|
||||||
winget install --id $pkg --silent --accept-package-list-agreements --accept-source-agreements
|
winget install --id $pkg --silent --accept-package-agreements --accept-source-agreements
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Host "Failed to install $pkg : $($_.Exception.Message)" -ForegroundColor Red
|
Write-Host "Failed to install $pkg : $($_.Exception.Message)" -ForegroundColor Red
|
||||||
|
|||||||
Reference in New Issue
Block a user