From 3e98d3f5846ebf70aceba98038ae337329f4b1cb Mon Sep 17 00:00:00 2001 From: cjee21 <77721854+cjee21@users.noreply.github.com> Date: Sat, 14 Dec 2024 15:05:05 +0800 Subject: [PATCH] Windows GUI: Enable high-DPI support for installers --- Source/Install/MediaInfo_GUI_Windows.nsi | 3 +++ Source/Install/MediaInfo_GUI_Windows_ARM64.nsi | 3 +++ Source/Install/MediaInfo_GUI_Windows_i386.nsi | 3 +++ Source/Install/MediaInfo_GUI_Windows_x64.nsi | 3 +++ 4 files changed, 12 insertions(+) diff --git a/Source/Install/MediaInfo_GUI_Windows.nsi b/Source/Install/MediaInfo_GUI_Windows.nsi index 0a77d265f..bd5f2859b 100644 --- a/Source/Install/MediaInfo_GUI_Windows.nsi +++ b/Source/Install/MediaInfo_GUI_Windows.nsi @@ -2,6 +2,9 @@ ; Request application privileges for Windows Vista RequestExecutionLevel admin +; Enable high-DPI support +ManifestDPIAware true + ; Some defines !define PRODUCT_NAME "MediaInfo" !define PRODUCT_PUBLISHER "MediaArea.net" diff --git a/Source/Install/MediaInfo_GUI_Windows_ARM64.nsi b/Source/Install/MediaInfo_GUI_Windows_ARM64.nsi index 7fb9c3e22..4b2324539 100644 --- a/Source/Install/MediaInfo_GUI_Windows_ARM64.nsi +++ b/Source/Install/MediaInfo_GUI_Windows_ARM64.nsi @@ -2,6 +2,9 @@ ; Request application privileges for Windows Vista RequestExecutionLevel admin +; Enable high-DPI support +ManifestDPIAware true + ; Some defines !define PRODUCT_NAME "MediaInfo" !define PRODUCT_PUBLISHER "MediaArea.net" diff --git a/Source/Install/MediaInfo_GUI_Windows_i386.nsi b/Source/Install/MediaInfo_GUI_Windows_i386.nsi index 953aebdf8..b073bb42f 100644 --- a/Source/Install/MediaInfo_GUI_Windows_i386.nsi +++ b/Source/Install/MediaInfo_GUI_Windows_i386.nsi @@ -2,6 +2,9 @@ ; Request application privileges for Windows Vista RequestExecutionLevel admin +; Enable high-DPI support +ManifestDPIAware true + ; Some defines !define PRODUCT_NAME "MediaInfo" !define PRODUCT_PUBLISHER "MediaArea.net" diff --git a/Source/Install/MediaInfo_GUI_Windows_x64.nsi b/Source/Install/MediaInfo_GUI_Windows_x64.nsi index 17582b60e..a3848e6d8 100644 --- a/Source/Install/MediaInfo_GUI_Windows_x64.nsi +++ b/Source/Install/MediaInfo_GUI_Windows_x64.nsi @@ -2,6 +2,9 @@ ; Request application privileges for Windows Vista RequestExecutionLevel admin +; Enable high-DPI support +ManifestDPIAware true + ; Some defines !define PRODUCT_NAME "MediaInfo" !define PRODUCT_PUBLISHER "MediaArea.net"