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

Bugfix: Fix Environment.executingDirectory in Linux symlink case #522

Merged
merged 7 commits into from
Jul 13, 2019

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Jul 13, 2019

Issue: After upgrading Onivim 2 to latest Revery, we saw immediate crashes when launching in Linux.

Defect: The Environment.executingDirectory was resolved symlinks - the Oni2 binary, when installed via esy is a symlink - and the assets are relative to that symlink. However, executingDirectory was returning the symlink source instead of the actual link location.

Fix: Add test and backport logic from Onivim 2 to workaround this.

@bryphe bryphe merged commit f80eafe into master Jul 13, 2019
@bryphe bryphe deleted the bugfix/executing-directory-2 branch July 13, 2019 17:46
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.

1 participant