domino14 / macondo

A crossword board game AI, written in Go
https://domino14.github.io/macondo
GNU General Public License v3.0
48 stars 10 forks source link

more centralized config file management #331

Closed domino14 closed 1 month ago

domino14 commented 4 months ago

Macondo config file should be saved to some common place where configs are held, in the home directory. Right now it looks for config file in the current working directory. If you execute by double-clicking the executable file, the working directory is your home directory (at least on Macs). But if you execute in other ways, the working directory could be something else.

Relatedly, data directory should be discovered in a better way. The code around it is hacky.