From d3b84021e48bc6d237c19aa1b9518effb061bb20 Mon Sep 17 00:00:00 2001 From: TheFlyingFool Date: Mon, 13 May 2024 16:27:47 -0500 Subject: [PATCH] Changed based on reddit --- setup.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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!