mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-17 18:27:42 -06:00
Compile Winutil
This commit is contained in:
parent
84fe67f032
commit
6e201305c9
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user