diff options
author | Gerald Combs <gerald@wireshark.org> | 2021-07-15 09:35:45 -0700 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-07-16 08:43:31 +0000 |
commit | 6cb4f178280bc7c7bc2b309da353b7f10bbfa227 (patch) | |
tree | 46092cdbd920b32d92d3b44ea1d542d38cbf6562 | |
parent | 102a9525337c6fa6a02c188d01cb599fee2038bb (diff) |
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.
-rw-r--r-- | packaging/nsis/common.nsh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packaging/nsis/common.nsh b/packaging/nsis/common.nsh index 7d58414560..82a7c5d1b1 100644 --- a/packaging/nsis/common.nsh +++ b/packaging/nsis/common.nsh @@ -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} |