Update check-apps.ps1 and list-updates.ps1

This commit is contained in:
Markus Fleschutz 2023-07-05 15:10:01 +02:00
parent fde2fff232
commit b6ce7a9758
2 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,8 @@
try { try {
if ($IsLinux) { if ($IsLinux) {
# TODO $NumSnaps = (snap list).Count - 1
Write-Host "$($NumSnaps) snaps installed"
} else { } else {
Write-Progress "⏳ Querying installed apps and updates..." Write-Progress "⏳ Querying installed apps and updates..."
$Apps = Get-AppxPackage $Apps = Get-AppxPackage

View File

@ -18,7 +18,7 @@ try {
& sudo apt update & sudo apt update
& sudo apt list --upgradable & sudo apt list --upgradable
"⏳ (2/2) Querying Snap updates..." "⏳ (2/2) Querying Snap updates..."
sudo snap refresh --list & sudo snap refresh --list
} else { } else {
" " " "
Write-Progress "⏳ Querying available software updates..." Write-Progress "⏳ Querying available software updates..."