Changed based on reddit

This commit is contained in:
TheFlyingFool 2024-05-13 16:27:47 -05:00
parent dd6395e7ef
commit d3b84021e4

View File

@ -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!