added silent install option for winget (#1089)

* added silent install option for winget

* corrected formatting issues.

* Update src/steps/os/windows.rs

Remove code duplication.

Co-authored-by: SteveLauC <stevelauc@outlook.com>

---------

Co-authored-by: SteveLauC <stevelauc@outlook.com>
This commit is contained in:
Red Wizard
2025-03-30 09:11:04 -04:00
committed by GitHub
parent a4a2d52a6d
commit a601d8429d
3 changed files with 19 additions and 4 deletions

View File

@@ -219,6 +219,10 @@
# wsl_update_use_web_download = true
# The default for winget_install_silently is true,
# this example turns off silent install.
# winget_install_silently = false
# Causes Topgrade to rename itself during the run to allow package managers
# to upgrade it. Use this only if you installed Topgrade by using a package
# manager such as Scoop or Cargo