release: target Windows 10 or later

While we will only outwardly support Windows 10+, due to an issue in
mingw-w64, we can't set the *-subsystem-version values higher than to
target Windows 8, so do that as a best effort.
This commit is contained in:
fanquake
2024-10-28 11:23:18 +00:00
parent 398754e70b
commit 35b898c47f
4 changed files with 11 additions and 9 deletions

View File

@@ -260,7 +260,7 @@ def check_PE_libraries(binary) -> bool:
def check_PE_subsystem_version(binary) -> bool:
major: int = binary.optional_header.major_subsystem_version
minor: int = binary.optional_header.minor_subsystem_version
if major == 6 and minor == 1:
if major == 6 and minor == 2:
return True
return False