From 863ba16642794fd7d4693bded1ea7494398acbab Mon Sep 17 00:00:00 2001 From: Dan <20766261+D4n2021@users.noreply.github.com> Date: Sat, 19 Oct 2024 12:07:48 +0200 Subject: [PATCH] WIP to add Win11 aswell - Update constants.js Please check my suggested change, should/can we use such a wildcard to distinguish Win10 from Win11? --- www/constants.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/constants.js b/www/constants.js index e153950..624a9e7 100755 --- a/www/constants.js +++ b/www/constants.js @@ -47,7 +47,8 @@ var WindowsVersionMap = { '6.1': '7', '6.2': '8', '6.3': '8.1', - '10.0': '10', + '10.0.19*': '10', + '10.0.26*': '11', }; function GetWindowsVersion(code) {