Closed borg323 closed 4 years ago
Most of the programs (but not all) create subdirectory inside .config/
do you think it doesn't make sense for the lc0 client?
In this case it is a single file, but I suppose having a LeelaChessZero subdirectory potentially having other config files (e.g. lc0.config) makes sense.
There is not a single example of directory in my .config/
with capital letters in it. :)
I have Qt
and VirtualBox
directories in my .config
but definitely a minority. What would you prefer, leela-chess-zero
, or lc0
? Personally I prefer lc0
, but this may confuse someone looking for the client config file.
I think the logic is correct here, does not append 'lc0' if the path is empty.
With this,
settings.json
is renamed tolc0-training-client-config.json
and is stored in$XDG_CONFIG_HOME
or$HOME/.config
in linux or$HOME//Library/Preferences
in macos. The current directory is used under windows or if the environment variables are not defined.The
-config
option is added to override the default file and location.