Skip to content

Commit

Permalink
desktop/version: Attempt to identify Windows 11 GA
Browse files Browse the repository at this point in the history
This is based on current rumours circulating on Windows 11 release day.
It needs to be fact-checked and tested on live systems.
  • Loading branch information
irydacea committed Oct 21, 2021
1 parent 7d04b80 commit 2c103cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/desktop/version.cpp
Expand Up @@ -362,7 +362,7 @@ std::string os_version()
break;
case 1000:
if(v.wProductType == VER_NT_WORKSTATION) {
version = "10";
version = v.dwBuildNumber < 22000 ? "10" : "11";
const auto& release_id = windows_release_id();
if(!release_id.empty()) {
version += ' ';
Expand Down

0 comments on commit 2c103cc

Please sign in to comment.