NSIS: Add DPI awareness

Set `ManifestDPIAware true` in the NSIS installer and uninstaller. Note
that this trades a better appearance on HiDPI displays for some
oddly-sized controls.
This commit is contained in:
Gerald Combs 2021-07-15 09:35:45 -07:00 committed by Wireshark GitLab Utility
parent 102a952533
commit 6cb4f17828
1 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,15 @@
; ============================================================================
Unicode true
; This improves the installer's appearance considerably here on a display scaled
; to 225%, but checkboxes are comically small. We might be able to fix this
; using the SysCompImg extension:
; http://forums.winamp.com/showthread.php?t=443754
ManifestDPIAware true
; These might be correct in the future, but are currently undocumented:
; http://forums.winamp.com/showthread.php?t=452632
; ManifestDPIAware System
; ManifestDPIAwareness "PerMonitorV2,System"
!ifdef NSIS_INCLUDE_DIR
!addincludedir ${NSIS_INCLUDE_DIR}