Skip to content

Commit

Permalink
fix(updater): blank icon after update on macOS, closes #4613 (#4861)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Aug 4, 2022
1 parent f7d2dfc commit 58fc1f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/fix-updater-finder-icon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Fixes updater breaking the app icon in Finder.
4 changes: 4 additions & 0 deletions core/tauri/src/updater/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,10 @@ fn copy_files_and_run<R: Read + Seek>(archive_buffer: R, extract_path: &Path) ->
Ok(false)
})?;

let _ = std::process::Command::new("touch")
.arg(&extract_path)
.status();

Ok(())
}

Expand Down

0 comments on commit 58fc1f2

Please sign in to comment.