aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--c/application.manifest12
2 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9207143..55299b2 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ all: $(B)EpisodeBrowser.exe
$(B)EpisodeBrowser.exe: $(C) $(OBJ) $(PL) c/defs.h Makefile
$(CC) -v $(CFLAGS) $(LDFLAGS) -goal true -o $@ $(C) $(OBJ) $(PL)
-$(B)resource.obj: c/resource.h c/resource.rc
+$(B)resource.obj: c/resource.h c/resource.rc c/application.manifest
windres -i c/resource.rc -o $(B)resource.obj
$(B)%.obj: c/%.c c/defs.h
diff --git a/c/application.manifest b/c/application.manifest
index 978f471..f7cad12 100644
--- a/c/application.manifest
+++ b/c/application.manifest
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"
+ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Supports Windows Vista / Server 2008 -->
@@ -11,7 +12,7 @@
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<!-- Supports Windows 8.1 / Server 2012 R2 -->
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
- <!-- Supports Windows 10 -->
+ <!-- Supports Windows 10 / 11 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
@@ -27,4 +28,11 @@
<assemblyIdentity type="Win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>
</dependentAssembly>
</dependency>
+ <asmv3:application>
+ <asmv3:windowsSettings xmlns:ws05="http://schemas.microsoft.com/SMI/2005/WindowsSettings"
+ xmlns:ws16="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
+ <ws05:dpiAware>system</ws05:dpiAware>
+ <ws16:dpiAwareness>PerMonitorV2, system</ws16:dpiAwareness>
+ </asmv3:windowsSettings>
+ </asmv3:application>
</assembly>