Compare commits
2 Commits
7f98ece3c6
...
b9de693dce
Author | SHA1 | Date | |
---|---|---|---|
b9de693dce | |||
b9e1d6088c |
@ -31,7 +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
|
winget search test --accept-source-agreements --accept-package-agreements
|
||||||
|
|
||||||
function InstallTheApps() {
|
function InstallTheApps() {
|
||||||
Foreach ($app in $apps) {
|
Foreach ($app in $apps) {
|
||||||
@ -40,10 +40,12 @@ function InstallTheApps() {
|
|||||||
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
|
winget install --exact $app.name --source $app.source
|
||||||
|
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
|
winget install --exact $app.name
|
||||||
|
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