revert winget

This commit is contained in:
Chris Titus
2024-02-07 18:11:40 -06:00
parent 92fa85768f
commit c842584cfe
7 changed files with 20 additions and 36 deletions

View File

@ -16,7 +16,7 @@ function Invoke-WPFGetInstalled {
return
}
if(!(Test-WinUtilPackageManager -winget) -and $checkbox -eq "winget"){
if(!(Get-Command -Name winget -ErrorAction SilentlyContinue) -and $checkbox -eq "winget"){
Write-Host "==========================================="
Write-Host "-- Winget is not installed ---"
Write-Host "==========================================="