[PATCH] winedbg: Add compatibility manifest to fix displayed Windows version.

Brendan Shanks bshanks at codeweavers.com
Tue Apr 14 13:37:39 CDT 2020


Signed-off-by: Brendan Shanks <bshanks at codeweavers.com>
---
 programs/winedbg/winedbg.manifest | 17 +++++++++++++++++
 programs/winedbg/winedbg.rc       |  3 +++
 2 files changed, 20 insertions(+)
 create mode 100644 programs/winedbg/winedbg.manifest

diff --git a/programs/winedbg/winedbg.manifest b/programs/winedbg/winedbg.manifest
new file mode 100644
index 0000000000..f7188313aa
--- /dev/null
+++ b/programs/winedbg/winedbg.manifest
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
+    <application>
+        <!-- Windows 10 -->
+        <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
+        <!-- Windows 8.1 -->
+        <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
+        <!-- Windows 8 -->
+        <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
+        <!-- Windows 7 -->
+        <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
+        <!-- Windows Vista -->
+        <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
+    </application>
+</compatibility>
+</assembly>
diff --git a/programs/winedbg/winedbg.rc b/programs/winedbg/winedbg.rc
index 7ad7686d28..af0018c3cf 100644
--- a/programs/winedbg/winedbg.rc
+++ b/programs/winedbg/winedbg.rc
@@ -75,3 +75,6 @@ BEGIN
     DEFPUSHBUTTON   "Close", IDOK, 326, 320, 70, 16, WS_TABSTOP
     PUSHBUTTON      "&Save As...", ID_SAVEAS, 252, 320, 70, 16, WS_TABSTOP
 END
+
+/* @makedep: winedbg.manifest */
+1 RT_MANIFEST winedbg.manifest
-- 
2.24.1




More information about the wine-devel mailing list