Skip to content

Commit

Permalink
feat(windows/nsis): add hidpi support for nsis installer
Browse files Browse the repository at this point in the history
  • Loading branch information
5aaee9 committed Jun 1, 2023
1 parent d3a4d89 commit dbe5921
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions v2/examples/customlayout/build/windows/installer/project.nsi
Expand Up @@ -45,6 +45,9 @@ VIAddVersionKey "FileVersion" "${INFO_PRODUCTVERSION}"
VIAddVersionKey "LegalCopyright" "${INFO_COPYRIGHT}"
VIAddVersionKey "ProductName" "${INFO_PRODUCTNAME}"

# Enable HiDPI support
ManifestDPIAware true

!include "MUI.nsh"

!define MUI_ICON "..\icon.ico"
Expand Down
3 changes: 3 additions & 0 deletions v2/pkg/buildassets/build/windows/installer/project.nsi
Expand Up @@ -45,6 +45,9 @@ VIAddVersionKey "FileVersion" "${INFO_PRODUCTVERSION}"
VIAddVersionKey "LegalCopyright" "${INFO_COPYRIGHT}"
VIAddVersionKey "ProductName" "${INFO_PRODUCTNAME}"

# Enable HiDPI support
ManifestDPIAware true

!include "MUI.nsh"

!define MUI_ICON "..\icon.ico"
Expand Down

0 comments on commit dbe5921

Please sign in to comment.