From a7be151c130620c097853bf6b39468ffae4d64b5 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Fri, 22 Nov 2024 11:24:54 +0800 Subject: [PATCH] Add dpiAwareness settings --- CMakeLists.txt | 2 +- jewena-chs.exe.manifest | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 jewena-chs.exe.manifest diff --git a/CMakeLists.txt b/CMakeLists.txt index 9969058..de4b655 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,4 +13,4 @@ set(DETOURS_LIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/detours.lib") add_library(jewena_patch SHARED dllmain.cpp) target_link_libraries(jewena_patch "${DETOURS_LIB}") -add_executable(jewena-chs WIN32 main.cpp winres.rc) +add_executable(jewena-chs WIN32 main.cpp winres.rc jewena-chs.exe.manifest) diff --git a/jewena-chs.exe.manifest b/jewena-chs.exe.manifest new file mode 100644 index 0000000..2dd2182 --- /dev/null +++ b/jewena-chs.exe.manifest @@ -0,0 +1,20 @@ + + + + + PerMonitorV2 + + + + + + + + + + + + + + + \ No newline at end of file