feat(winget): winget uses sudo when [windows] winget_use_sudo = true (#1061)
Co-authored-by: Gideon <87426140+GideonBear@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
23fff2a09f
commit
85c8bd2277
@@ -232,6 +232,16 @@
|
||||
# manager such as Scoop or Cargo
|
||||
# self_rename = true
|
||||
|
||||
# Use sudo to elevate privileges for the Windows Package Manager (winget)
|
||||
# Only use this option if you want to run the Winget step in sudo-mode.
|
||||
# Running winget in sudo-mode is generally not recommended, as not every
|
||||
# package supports installing / upgrading in sudo-mode and it may cause issues
|
||||
# with some packages or may even cause the Winget-step to fail.
|
||||
# If any problems occur, please try running Topgrade without this option first
|
||||
# before reporting an issue.
|
||||
# (default: false)
|
||||
# winget_use_sudo = true
|
||||
|
||||
|
||||
[npm]
|
||||
# Use sudo if the NPM directory isn't owned by the current user
|
||||
|
||||
Reference in New Issue
Block a user