Update install-updates.ps1

This commit is contained in:
Markus Fleschutz 2022-09-17 13:12:39 +02:00
parent 9e9f8a5534
commit 3cd545cbbb

View File

@ -11,7 +11,6 @@
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz | License: CC0
#> #>
#Requires -RunAsAdministrator
try { try {
$StopWatch = [system.diagnostics.stopwatch]::startNew() $StopWatch = [system.diagnostics.stopwatch]::startNew()
@ -29,10 +28,10 @@ try {
"⏳ Step 4/4 - Upgrading installed Snap packages..." "⏳ Step 4/4 - Upgrading installed Snap packages..."
& sudo snap refresh & sudo snap refresh
} else { } else {
"⏳ Step 1/2 - Checking for application updates..." "⏳ Step 1/2 - Fetching update infos..."
winget upgrade winget upgrade
"⏳ Step 2/2 - Upgrading application..." "⏳ Step 2/2 - Upgrading applications..."
winget upgrade --all winget upgrade --all
} }