[bug] Symlinks inside updater bundle are not preserved on update #7480
Labels
platform: macOS
scope: core
Core packages of Tauri
status: needs triage
This issue needs to triage, applied to new issues
type: bug
Describe the bug
While #3933 describes an issue with creating updater bundles that contain symlinks, this is a slightly different problem.
We bundle FFMpeg as a macOS framework inside
Spacedrive.app
, and that framework contains symlinks to files within it.When the updater extracts the downloaded update bundle, it doesn't preserve said symlinks, instead creating empty files.
This causes the app to instantly crash on launch as what should be symlinks are invaild files.
The top Finder window below is what the updater bundle should extract to. I downloaded the updater bundle from where it was being hosted (Firebase Storage) and extracted it, just to make sure it wasn't being affected by something other than the updater.
The bottom Finder window is the contents of the app bundle after running the updater. What were symlinks have become zero size files.
Reproduction
Will try to make a min repro, but it's a bit tricky since it requires having access to an update server
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: