From b331460340d0936f87051230c0bc45b7aedc0d94 Mon Sep 17 00:00:00 2001 From: Yuri Gabriel <97139700+Yuuh15@users.noreply.github.com> Date: Fri, 2 Feb 2024 13:23:43 -0300 Subject: [PATCH] Add argument "--force" to winget reinstall Some users reported not being able to reinstall winget without this argument. --- functions/public/Invoke-WPFFixesWinget.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/public/Invoke-WPFFixesWinget.ps1 b/functions/public/Invoke-WPFFixesWinget.ps1 index 36a8afab..5dd53a6b 100644 --- a/functions/public/Invoke-WPFFixesWinget.ps1 +++ b/functions/public/Invoke-WPFFixesWinget.ps1 @@ -8,6 +8,6 @@ function Invoke-WPFFixesWinget { 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 } \ No newline at end of file