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

Set the correct working directory for the AppImage version #937

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

Guldoman
Copy link
Member

When AppImages are executed, they change the working directory to the one the executable is mounted to.
This causes issues when using relative paths.

To solve this, we could either provide our own AppRun that sets the correct working directory, or just do it on the Lua side.
I went with the second option because of its simplicity.

Fixes #936.

@adamharrison
Copy link
Member

Seems like this really only would affect AppImage stuff, and we have had issues complaining about this, so yeah; let's just get this in. Makes sense to me.

@adamharrison adamharrison merged commit bbac7e4 into lite-xl:master Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AppImage version does not recognize relative filenames
2 participants