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

Updated XDG base directory handling #113

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Skyb0rg007
Copy link

The XDG Base Directory Specification has added XDG_STATE_HOME to the specification for local application state such as command-line history.
This PR adds support for said directory.

Additionally, the Windows directory paths were updated.
Prior to this commit, Windows paths were using legacy paths.
Lambda-term should use the current Known Folders as described here.

Variable Old Path New Path New Fallback
cache %USERPROFILE%\Local Settings\Cache %LOCALAPPDATA%\Cache %USERPROFILE%\AppData\Local\Cache
config %USERPROFILE%\Local Settings %APPDATA% %USERPROFILE%\AppData\Roaming
data %APPDATA% (fallback "") %APPDATA% %USERPROFILE%\AppData\Roaming
state N/A %LOCALAPPDATA% %USERPROFILE%\AppData\Local

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