diff --git a/Winget-AutoUpdate-Install.ps1 b/Winget-AutoUpdate-Install.ps1 index 8cb2869..022b1c3 100644 --- a/Winget-AutoUpdate-Install.ps1 +++ b/Winget-AutoUpdate-Install.ps1 @@ -129,7 +129,7 @@ function Install-WinGet{ #Check Package Install $TestWinGet = Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -eq "Microsoft.DesktopAppInstaller"} - If([Version]$TestWinGet.Version -gt "2022.519.1908.0") { + If([Version]$TestWinGet.Version -ge "2022.519.1908.0") { Write-Host "WinGet is Installed" -ForegroundColor Green