Fix platform version for Windows 10/11

Now we include the 10.0 + the build number in the version.
This commit is contained in:
David Capello 2024-02-20 18:08:31 -03:00
parent d70801e88b
commit 5337a728be
2 changed files with 3 additions and 3 deletions

2
laf

@ -1 +1 @@
Subproject commit 763ce0424b96a4dda274b59954314e4af6d64dca
Subproject commit 58723a95b3a8809bdd4621e5dea88632b0a4f5bf

View File

@ -1,5 +1,5 @@
// Aseprite
// Copyright (C) 2019-2021 Igara Studio S.A.
// Copyright (C) 2019-2024 Igara Studio S.A.
// Copyright (C) 2001-2017 David Capello
//
// This program is distributed under the terms of
@ -41,7 +41,7 @@ std::string getUserAgent()
userAgent << " NT";
break;
}
userAgent << " " << p.osVer.major() << "." << p.osVer.minor();
userAgent << " " << p.osVer.str();
if (p.servicePack.major() > 0)
userAgent << " SP" << p.servicePack.major();