chess-tui
chess-tui copied to clipboard
Config file storage
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
Oh, I see that dirs is already in use. I'll see whether I can fix this issue.
Kinda resolved in #71, although it doesn't utilize dirs::config_dir().