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

fix: always resolve symlinks for the executable path in the self-updater #5352

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

TimBeyer
Copy link
Contributor

@TimBeyer TimBeyer commented Nov 6, 2023

What this PR does / why we need it:
Otherwise homebrew but also other setups might fail and corrupt data since we will replace the symlink instead of the actual binary.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Otherwise `homebrew` but also other setups might fail since we will replace the symlink instead of the actual binary.
@TimBeyer TimBeyer requested a review from stefreak November 6, 2023 17:06
@stefreak stefreak enabled auto-merge November 6, 2023 17:07
stefreak added a commit that referenced this pull request Nov 6, 2023
This is to double down on making sure that self-update updates the
correct path (See also #5352)
@stefreak stefreak added this pull request to the merge queue Nov 6, 2023
github-merge-queue bot pushed a commit that referenced this pull request Nov 6, 2023
This is to double down on making sure that self-update updates the
correct path (See also #5352)
Merged via the queue into main with commit 7ee19dd Nov 6, 2023
3 checks passed
@stefreak stefreak deleted the fix/self-update-symlinked branch November 6, 2023 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants