diff --git a/setup.ps1 b/setup.ps1 index ceb4e8b..aaf9f59 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -49,7 +49,7 @@ do { if ($answer -eq 9) { break } function InstallTheApps([array]$AppList) { - Foreach ($app in $AppList) { + Foreach ($app in $apps) { $listApp = winget list --exact -q $app.name if (![String]::Join('', $listApp).Contains($app.name)) { Write-Host 'Installing:' $app.name