瀏覽代碼

feat(bundler): enable dpi awareness for NSIS (#8940)

closes #8896
Amr Bashir 1 年之前
父節點
當前提交
b5eb64728a
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 5 0
      .changes/nsis-dpi-aware.md
  2. 1 0
      tooling/bundler/src/bundle/windows/templates/installer.nsi

+ 5 - 0
.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.

+ 1 - 0
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