Skip to content

Commit c2b7c77

Browse files
authored
fix: put linux high dpi icons in the correct dir (#4281)
1 parent 084c079 commit c2b7c77

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.changes/linux-icon-high-dpi.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-bundler": patch
3+
---
4+
5+
On Linux, high-dpi icons are now placed in the correct directory
6+
and should be recognized by the desktop environment.

tooling/bundler/src/bundle/linux/debian.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ fn generate_icon_files(settings: &Settings, data_dir: &Path) -> crate::Result<BT
276276
"{}x{}{}/apps/{}.png",
277277
width,
278278
height,
279-
if is_high_density { "@2x" } else { "" },
279+
if is_high_density { "@2" } else { "" },
280280
settings.main_binary_name()
281281
))
282282
};

0 commit comments

Comments
 (0)