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

Config file creation fails if XDG_CONFIG_HOME does not exist #59

Open
sparr opened this issue Jan 3, 2024 · 1 comment
Open

Config file creation fails if XDG_CONFIG_HOME does not exist #59

sparr opened this issue Jan 3, 2024 · 1 comment
Labels
Milestone

Comments

@sparr
Copy link

sparr commented Jan 3, 2024

#40 put the config file in XDG_CONFIG_HOME, which is ~/.config by default on most Linux systems. If that directory does not exist, then the following code will fail to create the config file and throw an error:

https://github.com/Jeija/gtkterm/blob/b5d27d92a3c7a64afd9cf7a438ee50cabfcafa9e/src/parsecfg.c#L168-L173

@wvdakker wvdakker added this to the 2.0 milestone Jan 10, 2024
@wvdakker wvdakker added the bug label Jan 10, 2024
@wvdakker
Copy link
Owner

Will fix it in 2.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants