From afa3e15afed641e986eded7b26862f610188caf1 Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Sat, 30 Dec 2017 14:11:24 +0100 Subject: [PATCH] Change: [Win32] Declare in the app manifest that all current Windows versions are natively supported. The main effect of this is currently a proper OS version in the crashlog. --- projects/openttd_vs100.vcxproj | 8 ++++---- projects/openttd_vs100.vcxproj.in | 8 ++++---- projects/openttd_vs140.vcxproj | 4 ++++ projects/openttd_vs140.vcxproj.in | 4 ++++ projects/openttd_vs141.vcxproj | 4 ++++ projects/openttd_vs141.vcxproj.in | 4 ++++ projects/os_versions.manifest | 17 +++++++++++++++++ 7 files changed, 41 insertions(+), 8 deletions(-) create mode 100644 projects/os_versions.manifest diff --git a/projects/openttd_vs100.vcxproj b/projects/openttd_vs100.vcxproj index 9c3b107866..d9a3ecf806 100644 --- a/projects/openttd_vs100.vcxproj +++ b/projects/openttd_vs100.vcxproj @@ -146,7 +146,7 @@ true - dpi_aware.manifest + dpi_aware.manifest;os_versions.manifest @@ -192,7 +192,7 @@ MachineX86 - dpi_aware.manifest + dpi_aware.manifest;os_versions.manifest @@ -251,7 +251,7 @@ true - dpi_aware.manifest + dpi_aware.manifest;os_versions.manifest @@ -299,7 +299,7 @@ MachineX64 - dpi_aware.manifest + dpi_aware.manifest;os_versions.manifest diff --git a/projects/openttd_vs100.vcxproj.in b/projects/openttd_vs100.vcxproj.in index c8e71c4234..1993aace75 100644 --- a/projects/openttd_vs100.vcxproj.in +++ b/projects/openttd_vs100.vcxproj.in @@ -146,7 +146,7 @@ true - dpi_aware.manifest + dpi_aware.manifest;os_versions.manifest @@ -192,7 +192,7 @@ MachineX86 - dpi_aware.manifest + dpi_aware.manifest;os_versions.manifest @@ -251,7 +251,7 @@ true - dpi_aware.manifest + dpi_aware.manifest;os_versions.manifest @@ -299,7 +299,7 @@ MachineX64 - dpi_aware.manifest + dpi_aware.manifest;os_versions.manifest diff --git a/projects/openttd_vs140.vcxproj b/projects/openttd_vs140.vcxproj index 2aefabddd4..95fd9ba1fc 100644 --- a/projects/openttd_vs140.vcxproj +++ b/projects/openttd_vs140.vcxproj @@ -152,6 +152,7 @@ 5.01 + os_versions.manifest PerMonitorHighDPIAware @@ -202,6 +203,7 @@ 5.01 + os_versions.manifest PerMonitorHighDPIAware @@ -264,6 +266,7 @@ 5.02 + os_versions.manifest PerMonitorHighDPIAware @@ -316,6 +319,7 @@ 5.02 + os_versions.manifest PerMonitorHighDPIAware diff --git a/projects/openttd_vs140.vcxproj.in b/projects/openttd_vs140.vcxproj.in index 98b6481dcd..eb5bdb8ecd 100644 --- a/projects/openttd_vs140.vcxproj.in +++ b/projects/openttd_vs140.vcxproj.in @@ -152,6 +152,7 @@ 5.01 + os_versions.manifest PerMonitorHighDPIAware @@ -202,6 +203,7 @@ 5.01 + os_versions.manifest PerMonitorHighDPIAware @@ -264,6 +266,7 @@ 5.02 + os_versions.manifest PerMonitorHighDPIAware @@ -316,6 +319,7 @@ 5.02 + os_versions.manifest PerMonitorHighDPIAware diff --git a/projects/openttd_vs141.vcxproj b/projects/openttd_vs141.vcxproj index c735569b33..d06d0e8dd8 100644 --- a/projects/openttd_vs141.vcxproj +++ b/projects/openttd_vs141.vcxproj @@ -152,6 +152,7 @@ 5.01 + os_versions.manifest PerMonitorHighDPIAware @@ -202,6 +203,7 @@ 5.01 + os_versions.manifest PerMonitorHighDPIAware @@ -264,6 +266,7 @@ 5.02 + os_versions.manifest PerMonitorHighDPIAware @@ -316,6 +319,7 @@ 5.02 + os_versions.manifest PerMonitorHighDPIAware diff --git a/projects/openttd_vs141.vcxproj.in b/projects/openttd_vs141.vcxproj.in index 9afda46b7c..4070aec09f 100644 --- a/projects/openttd_vs141.vcxproj.in +++ b/projects/openttd_vs141.vcxproj.in @@ -152,6 +152,7 @@ 5.01 + os_versions.manifest PerMonitorHighDPIAware @@ -202,6 +203,7 @@ 5.01 + os_versions.manifest PerMonitorHighDPIAware @@ -264,6 +266,7 @@ 5.02 + os_versions.manifest PerMonitorHighDPIAware @@ -316,6 +319,7 @@ 5.02 + os_versions.manifest PerMonitorHighDPIAware diff --git a/projects/os_versions.manifest b/projects/os_versions.manifest new file mode 100644 index 0000000000..52ed17bcb9 --- /dev/null +++ b/projects/os_versions.manifest @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + +