Skip to content

Commit 58fc1f2

Browse files
authored
fix(updater): blank icon after update on macOS, closes #4613 (#4861)
1 parent f7d2dfc commit 58fc1f2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri": patch
3+
---
4+
5+
Fixes updater breaking the app icon in Finder.

core/tauri/src/updater/core.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,10 @@ fn copy_files_and_run<R: Read + Seek>(archive_buffer: R, extract_path: &Path) ->
885885
Ok(false)
886886
})?;
887887

888+
let _ = std::process::Command::new("touch")
889+
.arg(&extract_path)
890+
.status();
891+
888892
Ok(())
889893
}
890894

0 commit comments

Comments
 (0)