[net] add platform to user agent when checking for updates

* Also update Windows version strings for Windows 10
* Also set rufus-next to 1.4.12
* Closes #393
This commit is contained in:
Pete Batard 2014-11-08 00:23:50 +00:00
parent 55a5eb07e7
commit b2628e05d0
8 changed files with 33 additions and 23 deletions

View file

@ -288,13 +288,13 @@ void GetWindowsVersion(void)
break;
case 0x63: w = (ws?"8.1":"2012_R2");
break;
case 0x64: w = (ws?"8.2":"2012_R3");
case 0x64: w = (ws?"10":"2015");
break;
default:
if (nWindowsVersion < 0x50)
nWindowsVersion = WINDOWS_UNSUPPORTED;
else
w = "9 or later";
w = "11 or later";
break;
}
}