Update install-updates.ps1

This commit is contained in:
Markus Fleschutz 2022-11-18 17:05:45 +01:00
parent a8ce6ede69
commit 2fcfb4fad6

View File

@ -27,10 +27,10 @@ try {
"⏳ (4/4) Upgrading installed Snap packages..." "⏳ (4/4) Upgrading installed Snap packages..."
& sudo snap refresh & sudo snap refresh
} else { } else {
"⏳ (1/2) Querying updates..." "⏳ (1/2) Querying updates for applications..."
& winget upgrade & winget upgrade
"⏳ (2/2) Upgrading apps..." "⏳ (2/2) Upgrading applications..."
& winget upgrade --all & winget upgrade --all
} }
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds