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 storage #55

Closed
JeromeSchmied opened this issue Mar 3, 2024 · 2 comments
Closed

Config file storage #55

JeromeSchmied opened this issue Mar 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@JeromeSchmied
Copy link
Contributor

Description

As for now, the config file (containing chess-engine path) seems to be stored under $HOME/.chess-tui.

Expected behavior

It would be a lot better to store it under $HOME/.config/chess-tui/chess-engine.toml or something. The dirs crate fits the purpose to resolve this issue I think.

Environment

  • OS: Arch Linux
  • Terminal Emulator: Alacritty
  • Font: Recursive (patched)
  • Crate version: latest git
  • Backend: crossterm
@JeromeSchmied JeromeSchmied added the bug Something isn't working label Mar 3, 2024
@JeromeSchmied
Copy link
Contributor Author

Oh, I see that dirs is already in use. I'll see whether I can fix this issue.

@JeromeSchmied
Copy link
Contributor Author

Kinda resolved in #71, although it doesn't utilize dirs::config_dir().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant