mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-04 22:38:34 +02:00
Update install-updates.ps1
This commit is contained in:
parent
9e9f8a5534
commit
3cd545cbbb
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user