summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-25 22:35:51 +0800
committerruki <[email protected]>2025-04-25 22:35:51 +0800
commit00ff68e7319def8c566443aa513454ad86ccecd7 (patch)
treed6ba4cca2d09dcf72c31a97ea903ab1c8e57624f
parent386725082bbea11b0fb3894c7b3ae7411b375ae0 (diff)
add win11
-rw-r--r--xmake/core/base/winos.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/xmake/core/base/winos.lua b/xmake/core/base/winos.lua
index b425447cd..368d6f190 100644
--- a/xmake/core/base/winos.lua
+++ b/xmake/core/base/winos.lua
@@ -48,10 +48,7 @@ end
-- get windows version from name
function winos._version_from_name(name)
-
- -- make defined values
- winos._VERSIONS = winos._VERSIONS or
- {
+ winos._VERSIONS = winos._VERSIONS or {
nt4 = "4.0"
, win2k = "5.0"
, winxp = "5.1"
@@ -65,6 +62,7 @@ function winos._version_from_name(name)
, winblue = "6.3"
, win81 = "6.3"
, win10 = "10.0"
+ , win11 = "10.0.22000"
}
return winos._VERSIONS[name]
end