From b5eb64728aeb410d3f3068608a94762655c4690f Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Thu, 22 Feb 2024 13:52:19 +0200 Subject: [PATCH] feat(bundler): enable dpi awareness for NSIS (#8940) closes #8896 --- .changes/nsis-dpi-aware.md | 5 +++++ tooling/bundler/src/bundle/windows/templates/installer.nsi | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changes/nsis-dpi-aware.md diff --git a/.changes/nsis-dpi-aware.md b/.changes/nsis-dpi-aware.md new file mode 100644 index 000000000..0fb75afb3 --- /dev/null +++ b/.changes/nsis-dpi-aware.md @@ -0,0 +1,5 @@ +--- +'tauri-build': 'patch:enhance' +--- + +Enable Hight DPI awareness for NSIS installer so it is not blurry on some systems. diff --git a/tooling/bundler/src/bundle/windows/templates/installer.nsi b/tooling/bundler/src/bundle/windows/templates/installer.nsi index 79cb47247..732ad4bc9 100644 --- a/tooling/bundler/src/bundle/windows/templates/installer.nsi +++ b/tooling/bundler/src/bundle/windows/templates/installer.nsi @@ -1,4 +1,5 @@ Unicode true +ManifestDPIAware true ; Set the compression algorithm. Default is LZMA. !if "{{compression}}" == "" SetCompressor /SOLID lzma