respect CleanOnly
This commit is contained in:
parent
3bc3b43d3a
commit
3aba831f2c
|
@ -3,7 +3,9 @@ param(
|
|||
[switch]$CleanOnly
|
||||
)
|
||||
|
||||
winget upgrade --all
|
||||
if (-not $CleanOnly) {
|
||||
winget upgrade --all
|
||||
}
|
||||
|
||||
if ((Get-Command "scoop" -ErrorAction SilentlyContinue) -and -not $elevated) {
|
||||
if (-not $CleanOnly) {
|
||||
|
|
Loading…
Reference in a new issue