From 2b8d31a13b3fea3a8c8c09c2136240e9ebff7075 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 4 May 2023 07:55:15 +0200 Subject: [PATCH] Update list-updates.ps1 --- Scripts/list-updates.ps1 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Scripts/list-updates.ps1 b/Scripts/list-updates.ps1 index 6ad30926..c6a95e82 100755 --- a/Scripts/list-updates.ps1 +++ b/Scripts/list-updates.ps1 @@ -1,8 +1,8 @@ <# .SYNOPSIS - Lists software updates + Lists updates .DESCRIPTION - This PowerShell script lists available updates for the local machine. + This PowerShell script lists available software updates for the local machine. Use "install-updates.ps1" to install the listed updates. .EXAMPLE PS> ./list-updates @@ -20,9 +20,11 @@ try { "⏳ (2/2) Querying Snap updates... (use install-updates.ps1 to install them)" sudo snap refresh --list } else { - "⏳ Querying application updates... (use install-updates.ps1 to install them)" + Write-Progress "⏳ Querying available software updates..." " " & winget upgrade + Write-Progress -completed "." + Write-Host "(use install-updates.ps1 to install these updates)" } exit 0 # success } catch {