mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-23 18:38:19 +02:00
Update list-updates.ps1
This commit is contained in:
parent
d9c6286503
commit
225cf201aa
@ -24,8 +24,10 @@ try {
|
|||||||
& 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
|
||||||
|
} elseif ($IsMacOS) {
|
||||||
|
throw "Sorry, MacOS not supported yet"
|
||||||
} else {
|
} else {
|
||||||
Write-Progress "Querying the latest updates from winget and Microsoft Store..."
|
Write-Progress "Querying updates from Microsoft Store and winget..."
|
||||||
" "
|
" "
|
||||||
& winget upgrade --include-unknown
|
& winget upgrade --include-unknown
|
||||||
Write-Progress -completed "Done."
|
Write-Progress -completed "Done."
|
||||||
|
Loading…
Reference in New Issue
Block a user