https://bugs.winehq.org/show_bug.cgi?id=52092
--- Comment #16 from Tobi L tobil4sk@outlook.com ---
Created a MR with tests for this based on your patch
Thanks!
I get the same outdated message with the patch
To clarify, are you getting the "Windows.Foundation.UniversalApiContract" crash? Or are you talking about the incorrect version check once the app starts? Could you confirm the windows version and what the error is.
I did some debugging, it seems there is an issue on this line:
https://gitlab.winehq.org/wine/wine/-/blob/951e0e27a743e52c75c7fedc0b1eaa9eb...
Here, nt->OptionalHeader.MajorOperatingSystemVersion is 4, so it reverts to the default current version which is Windows 8.0.