I really need to find a better way to test w/o a million commits
This commit is contained in:
parent
a03b9add98
commit
7f98ece3c6
@ -31,6 +31,7 @@ $settingsJson = @{installBehavior = @{
|
|||||||
}
|
}
|
||||||
$settingsJson | ConvertTo-Json | Out-File $settingsPath -Encoding utf8
|
$settingsJson | ConvertTo-Json | Out-File $settingsPath -Encoding utf8
|
||||||
|
|
||||||
|
winget --accept-source-agreements --accept-package-agreements
|
||||||
|
|
||||||
function InstallTheApps() {
|
function InstallTheApps() {
|
||||||
Foreach ($app in $apps) {
|
Foreach ($app in $apps) {
|
||||||
@ -38,11 +39,11 @@ function InstallTheApps() {
|
|||||||
if (![String]::Join("", $listApp).Contains($app.name)) {
|
if (![String]::Join("", $listApp).Contains($app.name)) {
|
||||||
Write-host "Installing:" $app.name
|
Write-host "Installing:" $app.name
|
||||||
if ($null -ne $app.source) {
|
if ($null -ne $app.source) {
|
||||||
winget install --exact $app.name --source $app.source --accept-source-agreements --accept-package-agreements
|
winget install --exact $app.name --source $app.source
|
||||||
# winget install --exact --silent $app.name --source $app.source
|
# winget install --exact --silent $app.name --source $app.source
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
winget install --exact $app.name --accept-source-agreements --accept-package-agreements
|
winget install --exact $app.name
|
||||||
# winget install --exact --silent $app.name
|
# winget install --exact --silent $app.name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user