mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-16 19:50:45 +01:00
Update install-updates.ps1
This commit is contained in:
parent
a8ce6ede69
commit
2fcfb4fad6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user