Closed brogers5 closed 7 months ago
Get-IsWin7's minor version comparison uses a less-than check against Windows 7's actual minor version (1). This should be an equivalency check instead.
Get-IsWin7
This would cause a false positive in Windows Vista, and a false negative in Windows 7:
Closing this as I am no longer creating or maintaining Chocolatey packages. Sorry, out of my control.
Hopefully you've enjoyed my work and found it useful.
Get-IsWin7
's minor version comparison uses a less-than check against Windows 7's actual minor version (1). This should be an equivalency check instead.This would cause a false positive in Windows Vista, and a false negative in Windows 7:![image](https://github.com/bcurran3/ChocolateyPackages/assets/6869577/a2c1cd9c-e346-4a88-a673-405e801e8e03)