Update setup.ps1
This commit is contained in:
parent
8717d1666a
commit
44a95062e2
@ -49,7 +49,7 @@ do {
|
|||||||
if ($answer -eq 9) { break }
|
if ($answer -eq 9) { break }
|
||||||
|
|
||||||
function InstallTheApps([array]$AppList) {
|
function InstallTheApps([array]$AppList) {
|
||||||
Foreach ($app in $AppList) {
|
Foreach ($app in $apps) {
|
||||||
$listApp = winget list --exact -q $app.name
|
$listApp = winget list --exact -q $app.name
|
||||||
if (![String]::Join('', $listApp).Contains($app.name)) {
|
if (![String]::Join('', $listApp).Contains($app.name)) {
|
||||||
Write-Host 'Installing:' $app.name
|
Write-Host 'Installing:' $app.name
|
||||||
|
Loading…
Reference in New Issue
Block a user