diff options
author | glx <glx@openttd.org> | 2019-01-25 03:43:24 +0100 |
---|---|---|
committer | glx22 <glx22@users.noreply.github.com> | 2019-01-25 16:59:41 +0100 |
commit | 255fa6e1a8586de75b33b9598467d47344ed6c5e (patch) | |
tree | 50262f51a42f4abe6b5c76d7b45572d59eb51f6f /projects | |
parent | 4158c077cd9bba88096c3bf5b8727805f7e29369 (diff) | |
download | openttd-255fa6e1a8586de75b33b9598467d47344ed6c5e.tar.xz |
Fix: enable DPI-awareness for MINGW builds
Diffstat (limited to 'projects')
-rw-r--r-- | projects/dpi_aware.manifest | 28 | ||||
-rw-r--r-- | projects/os_versions.manifest | 2 |
2 files changed, 26 insertions, 4 deletions
diff --git a/projects/dpi_aware.manifest b/projects/dpi_aware.manifest index 6f0416159..ee1c7ea22 100644 --- a/projects/dpi_aware.manifest +++ b/projects/dpi_aware.manifest @@ -1,7 +1,29 @@ -<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" > +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> + <security> + <requestedPrivileges> + <requestedExecutionLevel level="asInvoker" uiAccess="false" /> + </requestedPrivileges> + </security> + </trustInfo> <application xmlns="urn:schemas-microsoft-com:asm.v3"> - <windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> - <dpiAware>True/PM</dpiAware> + <windowsSettings> + <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">True/PM</dpiAware> </windowsSettings> </application> + <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> + <application> + <!--This Id value indicates the application supports Windows Vista functionality --> + <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> + <!--This Id value indicates the application supports Windows 7 functionality--> + <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> + <!--This Id value indicates the application supports Windows 8 functionality--> + <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> + <!--This Id value indicates the application supports Windows 8.1 functionality--> + <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> + <!--This Id value indicates the application supports Windows 10 functionality--> + <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> + </application> + </compatibility> </assembly> diff --git a/projects/os_versions.manifest b/projects/os_versions.manifest index 52ed17bcb..c7905ee70 100644 --- a/projects/os_versions.manifest +++ b/projects/os_versions.manifest @@ -12,6 +12,6 @@ <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> <!--This Id value indicates the application supports Windows 10 functionality--> <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> - </application> + </application> </compatibility> </assembly> |