Trying old method
This commit is contained in:
parent
bce7a207bf
commit
2cf9e795f2
22
setup.ps1
22
setup.ps1
@ -125,8 +125,26 @@ do {
|
|||||||
@{name = 'j5create.Driver-JUA365' } ## Not sure if this is correct yet!
|
@{name = 'j5create.Driver-JUA365' } ## Not sure if this is correct yet!
|
||||||
)
|
)
|
||||||
|
|
||||||
InstallTheApps $Apps
|
Foreach ($app in $apps) {
|
||||||
}
|
$listApp = winget list --exact -q $app.name
|
||||||
|
if (![String]::Join("", $listApp).Contains($app.name)) {
|
||||||
|
Write-host "Installing:" $app.name
|
||||||
|
if ($null -ne $app.source) {
|
||||||
|
winget install --exact $app.name --source $app.source
|
||||||
|
# winget install --exact --silent $app.name --source $app.source
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
winget install --exact $app.name
|
||||||
|
# winget install --exact --silent $app.name
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Write-host "Skipping Install of " $app.name
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#InstallTheApps $Apps
|
||||||
|
|
||||||
'5' {
|
'5' {
|
||||||
## REMOVE CRAP
|
## REMOVE CRAP
|
||||||
Write-Output 'Removing Apps'
|
Write-Output 'Removing Apps'
|
||||||
|
Loading…
Reference in New Issue
Block a user