NSIS: Enable HiDPI support
authorMarvin Scholz <epirat07@gmail.com>
Tue, 25 Jul 2017 15:29:41 +0000 (17:29 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 25 Jul 2017 15:39:44 +0000 (17:39 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
extras/package/win32/NSIS/vlc.win32.nsi.in

index 7895c4c..4295233 100644 (file)
 !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