diff --git a/setup.ps1 b/setup.ps1 index 79700b3..a6611fc 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -27,7 +27,7 @@ $settingsJson = @{installBehavior = @{ $settingsJson | ConvertTo-Json | Out-File $settingsPath -Encoding utf8 function InstallTheApps([array]$AppList) { - Foreach ($app in $apps) { + Foreach ($app in $AppList) { $listApp = winget list --exact -q $app.name if (![String]::Join('', $listApp).Contains($app.name)) { Write-Host 'Installing:' $app.name @@ -119,7 +119,7 @@ do { InstallTheApps $Apps } '4' { - $apps = @( ## LAPTOP + $AppList = @( ## LAPTOP @{name = 'Intel.IntelDriverAndSupportAssistant' }, @{name = '9WZDNCRFJ4MV'; source = 'msstore' }, # Lenovo Vantage from MS Store @{name = 'j5create.Driver-JUA365' } ## Not sure if this is correct yet!