teeworlds / documentation

https://www.teeworlds.com/?page=help
13 stars 14 forks source link

Fix Linux config file location #41

Closed phistep closed 3 years ago

phistep commented 3 years ago

I'm not sure if the actual file name should be included in the path or if the path should point to the directory the config file is located in. Also in the main body it says "The config file is always called settings.cfg, whereas on Linux at least it's called settings07.cfg. I don't know if that is true on all platforms.

Dune-jr commented 3 years ago

Good catch! It was changed from ~/.teeworlds to that path during the 0.7 update and settings.cfg was renamed a bit later. I think proper English would be "located at" instead of "located in" if the path is no longer designating the folder, right?

phistep commented 3 years ago

If—as you say—the filename is settings07.cfg on all platforms the original wording makes sense. So I decided to keep the original wording and state the filename in the first paragraph, just listing the parent directories in the os-specific sections. I decided to add a trailing path seperator on UNIX systems to indicate that it is indeed a directory, not the filename.

Dune-jr commented 3 years ago

Thanks!