From 96cea4d7d6da93871919b6404172cd08ea99ab49 Mon Sep 17 00:00:00 2001 From: Gammasoft Date: Wed, 8 Nov 2023 07:49:38 +0100 Subject: [PATCH] Windows 11 23h2 has no codename --- src/xtd.core.native.win32/src/xtd/native/win32/environment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xtd.core.native.win32/src/xtd/native/win32/environment.cpp b/src/xtd.core.native.win32/src/xtd/native/win32/environment.cpp index 5d19eabfd11d..484dc6ca089f 100644 --- a/src/xtd.core.native.win32/src/xtd/native/win32/environment.cpp +++ b/src/xtd.core.native.win32/src/xtd/native/win32/environment.cpp @@ -102,7 +102,7 @@ namespace { if (build == 19045) return make_tuple("Windows 10", "Vibranium", "22H2"); if (build == 22000) return make_tuple("Windows 11", "Sun Valley", "21H2"); if (build == 22621) return make_tuple("Windows 11", "Sun Valley 2", "22H2"); - if (build == 22631) return make_tuple("Windows 11", "Sun Valley 2", "23H2"); + if (build == 22631) return make_tuple("Windows 11", "", "23H2"); return {"Windows", "", ""}; } }