diff --git a/winutil.ps1 b/winutil.ps1 index 70ac5992..aee1eeea 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -762,6 +762,7 @@ Function Install-WinUtilProgramWinget { continue } Write-Host "Attempting installation with Chocolatey as a fallback method" + Install-WinUtilChoco $status = $(Start-Process -FilePath "choco" -ArgumentList "install $Program -y" -Wait -PassThru).ExitCode if($status -eq 0){ Write-Host "$Program installed successfully using Chocolatey."