Upgrade Fix in #1181 (#1730)

This commit is contained in:
Justawildwolf 2024-03-28 23:47:47 +08:00 committed by GitHub
parent 05be256368
commit 6ed311c313
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ Function Update-WinUtilProgramWinget {
$host.ui.RawUI.WindowTitle = """Winget Install"""
Start-Transcript $ENV:TEMP\winget-update.log -Append
winget upgrade --all
winget upgrade --all --accept-source-agreements --accept-package-agreements --scope=machine --silent
}