mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 14:45:52 -06:00
Add argument "--force" to winget reinstall
Some users reported not being able to reinstall winget without this argument.
This commit is contained in:
parent
4588ff86c1
commit
b331460340
@ -8,6 +8,6 @@ function Invoke-WPFFixesWinget {
|
|||||||
BravoNorris for the fantastic idea of a button to reinstall winget
|
BravoNorris for the fantastic idea of a button to reinstall winget
|
||||||
#>
|
#>
|
||||||
|
|
||||||
Start-Process -FilePath "choco" -ArgumentList "install winget -y" -NoNewWindow -Wait
|
Start-Process -FilePath "choco" -ArgumentList "install winget -y --force" -NoNewWindow -Wait
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user