[BR] Windows 11 is reported as Windows 10 using juce::SystemStats

Sorry if this has already been reported - I couldn’t find any other topics on the matter…

Using juce::SystemStats::getOperatingSystemName() is returning "Windows 10" on Windows 11 machines.

It looks as though the current way JUCE checks for Windows version numbers may not be sufficient for handling Windows 11 since, according to this page (which I’m not sure how reliable it is), the version number of Windows 11 is still 10.0, but with a different build number.

Looks like juce::SystemStats::getOperatingSystemType() may need to check the build number, as well as the major and minor versions?


Thank you for reporting this. A fix has been pushed to develop


Amazing, thanks Attila!