[vlc-devel] [PATCH 2/2] NSIS: Enable HiDPI support

Marvin Scholz epirat07 at gmail.com
Tue Jul 25 17:29:41 CEST 2017


---
 extras/package/win32/NSIS/vlc.win32.nsi.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/extras/package/win32/NSIS/vlc.win32.nsi.in b/extras/package/win32/NSIS/vlc.win32.nsi.in
index 85e635979c..aabafa10ae 100644
--- a/extras/package/win32/NSIS/vlc.win32.nsi.in
+++ b/extras/package/win32/NSIS/vlc.win32.nsi.in
@@ -23,6 +23,10 @@
 !define MEMENTO_REGISTRY_ROOT ${PRODUCT_UNINST_ROOT_KEY}
 !define MEMENTO_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
 
+!if ! 0x3000000 >= ${NSIS_PACKEDVERSION}
+  ManifestDPIAware true
+!endif
+
 !define INSTALL_ACTIVEX
 !define INSTALL_MOZILLA
 
-- 
2.11.0 (Apple Git-81)



More information about the vlc-devel mailing list