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

Wrong path for chess-tui config file #70

Closed
damien-mathieu1 opened this issue May 2, 2024 · 3 comments · Fixed by #71
Closed

Wrong path for chess-tui config file #70

damien-mathieu1 opened this issue May 2, 2024 · 3 comments · Fixed by #71
Assignees
Labels
bug Something isn't working

Comments

@damien-mathieu1
Copy link
Contributor

Description

For now the chess-tui config file in which there is the engine path for the bot is created directly at the root of the home directory. (~/.chess-tui)

To Reproduce

Run chess-tui with -e option for the engine path and the configuration file will be created.

Expected behavior

The configuration file should be located in a chess-tui directory in the .config directory as follow : ~/.config/chess-tui/config.toml
Also, it would be better if the configuration file is created whether or not there is an option on launch of chess-tui.

Environment

  • OS: Arch Linux
  • Terminal Emulator: Fish
@damien-mathieu1 damien-mathieu1 added the bug Something isn't working label May 2, 2024
@damien-mathieu1
Copy link
Contributor Author

Hello !

I would like to take this issue if possible ! 😄

@thomas-mauran
Copy link
Owner

good idea in the new toml file we could have the following fields:

engine_path = <path>
display_mode = <display_mode_from_enum>

make sure to change the way those 2 variables are implemented

@damien-mathieu1
Copy link
Contributor Author

Will do !

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

Successfully merging a pull request may close this issue.

2 participants