Browse Source

GUI: Show OS build in Properties - About

pull/899/head 22000.493.42.16_52cee9e
Valentin Radu 4 years ago
parent
commit
52cee9ebbb
  1. 8
      ExplorerPatcher/GUI.c
  2. 5
      ExplorerPatcher/settings.reg
  3. 5
      ExplorerPatcher/settings10.reg

8
ExplorerPatcher/GUI.c

@ -1116,6 +1116,14 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt) @@ -1116,6 +1116,14 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
#endif
);
}
p = strstr(line, "%OSVERSIONSTRING%");
if (p)
{
RTL_OSVERSIONINFOW rovi;
DWORD32 ubr = VnGetOSVersionAndUBR(&rovi);
sprintf_s(p, MAX_PATH, "%d.%d.%d.%d.", rovi.dwMajorVersion, rovi.dwMinorVersion, rovi.dwBuildNumber, ubr);
}
}
ZeroMemory(text, (MAX_LINE_LENGTH + 3) * sizeof(wchar_t));
MultiByteToWideChar(

5
ExplorerPatcher/settings.reg

@ -546,8 +546,9 @@ @@ -546,8 +546,9 @@
;e Version %VERSIONINFORMATIONSTRING%
;t © 2006-2022 VALINET Solutions SRL. All rights reserved.
;e
;e This project aims to bring back a productive working environment on Windows 11.
;t Proudly engineered by Valentin-Gabriel Radu.
;e This project aims to enhance the working environment on Windows.
;e Proudly engineered by Valentin-Gabriel Radu.
;t Running on Windows 11, OS Build %OSVERSIONSTRING%
;y Visit project GitHub (https://github.com/valinet) 🡕
;https://github.com/valinet
;q

5
ExplorerPatcher/settings10.reg

@ -466,8 +466,9 @@ @@ -466,8 +466,9 @@
;e Version %VERSIONINFORMATIONSTRING%
;t © 2006-2022 VALINET Solutions SRL. All rights reserved.
;e
;e This project aims to enhance the working environment on Windows 10.
;t Proudly engineered by Valentin-Gabriel Radu.
;e This project aims to enhance the working environment on Windows.
;e Proudly engineered by Valentin-Gabriel Radu.
;t Running on Windows 10, OS Build %OSVERSIONSTRING%
;y Visit project GitHub (https://github.com/valinet) 🡕
;https://github.com/valinet
;q

Loading…
Cancel
Save