Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] update.downloadAndInstall does not work on removable volume [macOS] #1983

Open
martingrzzler opened this issue Oct 29, 2024 · 0 comments
Labels
bug Something isn't working platform: macos macOS specific issues plugin: updater

Comments

@martingrzzler
Copy link

martingrzzler commented Oct 29, 2024

Describe the bug

I've added the updater plugin. Upon calling downloadAndInstall on a build that is stored on a removable volume, everything completes without errors but the files on disk aren't updated. So when I reopen the app, the update is attempted again indefinitely.

Edit:
I've found the error.

 Os { code: 18, kind: CrossesDevices, message: "Cross-device link" }

It is thrown here when trying to rename the extract_path to the tmp folder.

Oddly this error doesn't make it to the frontend.
I guess one would have to create the tmp dir on the removable volume.

@Legend-Master Legend-Master transferred this issue from tauri-apps/tauri Oct 30, 2024
@FabianLars FabianLars added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform: macos macOS specific issues plugin: updater
Projects
None yet
Development

No branches or pull requests

3 participants