From 2a520336a870b1f2cda4d2dae7183daf1bbf1826 Mon Sep 17 00:00:00 2001 From: TheFlyingFool Date: Tue, 21 May 2024 16:31:13 -0500 Subject: [PATCH] Think I have it? --- setup.ps1 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/setup.ps1 b/setup.ps1 index e7c27c2..2df4c2b 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -31,7 +31,7 @@ $settingsJson = @{installBehavior = @{ } $settingsJson | ConvertTo-Json | Out-File $settingsPath -Encoding utf8 -winget search test --accept-source-agreements --accept-package-agreements +winget search test --accept-source-agreements function InstallTheApps() { Foreach ($app in $apps) { @@ -39,13 +39,11 @@ function InstallTheApps() { if (![String]::Join("", $listApp).Contains($app.name)) { Write-host "Installing:" $app.name if ($null -ne $app.source) { - winget install --exact $app.name --source $app.source - winget install --exact $app.name --source $app.source + winget install --exact $app.name --source $app.source --accept-package-agreements # winget install --exact --silent $app.name --source $app.source } else { - winget install --exact $app.name - winget install --exact $app.name + winget install --exact $app.name --accept-package-agreements # winget install --exact --silent $app.name } }