]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Add an application manifest to prevent automatic DPI scaling on Windows
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Tue, 9 Mar 2021 13:56:17 +0000 (14:56 +0100)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Tue, 9 Mar 2021 14:01:04 +0000 (15:01 +0100)
darkplaces.exe.manifest [new file with mode: 0755]
darkplaces.rc

diff --git a/darkplaces.exe.manifest b/darkplaces.exe.manifest
new file mode 100755 (executable)
index 0000000..4be5616
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
+<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
+    <application>
+        <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
+        <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
+        <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
+        <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
+        <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
+    </application>
+</compatibility>
+
+<application>
+    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
+        <dpiAware>true/pm</dpiAware>
+    </asmv3:windowsSettings>
+</application>
+
+<trustInfo>
+    <security>
+        <requestedPrivileges>
+            <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
+        </requestedPrivileges>
+    </security>
+</trustInfo>
+</assembly>
\ No newline at end of file
index 5580b29cb5220b1a106b33314a11b17dbe3ba033..076ae0fd93aa6ccaf7d68e40189eefa16a7255b2 100644 (file)
@@ -2,6 +2,8 @@
 
 107 ICON "darkplaces.ico"
 
+1 RT_MANIFEST "darkplaces.exe.manifest"
+
 1 VERSIONINFO
 FILEVERSION 1,0,0,0
 PRODUCTVERSION 1,0,0,0