tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[bug] Blurry installer on Windows

Open Legend-Master opened this issue 2 years ago • 0 comments

Describe the bug

Currently the Windows installer generated by nsis is blurry when system scale is set to not 100%/200%

System scale set to 125%

image

We can fix it by adding ManifestDPIAware true to https://github.com/tauri-apps/tauri/blob/dev/tooling/bundler/src/bundle/windows/templates/installer.nsi

https://nsis.sourceforge.io/Reference/ManifestDPIAware

image

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.19045 X64
    ✔ WebView2: 121.0.2277.128
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.75.0 (82e1608df 2023-12-21)
    ✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.10.0
    - pnpm: 8.6.3
    - yarn: 1.22.19
    - npm: 10.4.0

[-] Packages
    - tauri [RUST]: 2.0.0-beta.2
    - tauri-build [RUST]: 2.0.0-beta.1
    - wry [RUST]: 0.35.2
    - tao [RUST]: 0.25.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.0
    - @tauri-apps/cli [NPM]: 2.0.0-beta.1

[-] App
    - build-type: bundle
    - CSP: connect-src ipc: http://ipc.localhost ws: localhost:* 127.0.0.1:*
    - frontendDist: ../dist
    - devUrl: http://localhost:3000/
    - framework: SolidJS
    - bundler: Vite

Stack trace

No response

Additional context

No response

Legend-Master avatar Feb 19 '24 09:02 Legend-Master