The logic was expecting major version in Windows 11 to be 11. However, in Windows 11, major version is not changed and it is till 10. This commit corrects logic to check build number that's guaranteed to be higher in Windows 11.
The logic was expecting major version in Windows 11 to be 11. However, in Windows 11, major version is not changed and it is till 10. This commit corrects logic to check build number that's guaranteed to be higher in Windows 11.