mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Determine Windows 11 by build number (fixes #367)
(cherry picked from commit b6e156e88c)
This commit is contained in:
parent
ada9ada758
commit
a7d176ca38
1 changed files with 5 additions and 1 deletions
|
|
@ -378,7 +378,11 @@ begin
|
|||
10: case osvi.dwMinorVersion of
|
||||
0: if (osvi.wProductType = VER_NT_WORKSTATION) then
|
||||
begin
|
||||
OSVersion := OSVersion + ' 10';
|
||||
if (osvi.dwBuildNumber >= 22000) then
|
||||
OSVersion := OSVersion + ' 11'
|
||||
else begin
|
||||
OSVersion := OSVersion + ' 10';
|
||||
end;
|
||||
if (osvi.wSuiteMask and VER_SUITE_PERSONAL <> 0) then
|
||||
OSVersion := OSVersion + ' Home';
|
||||
if ((osvi.dwBuildNumber >= 19042) and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue