rastapasta / mapscii

🗺 MapSCII is a Braille & ASCII world map renderer for your console - enter => telnet mapscii.me <= on Mac (brew install telnet) and Linux, connect with PuTTY on Windows
MIT License
7.93k stars 256 forks source link

Change cache location from ~/.mapscii to ~/.cache/.mapscii #60

Open ghost opened 5 years ago

ghost commented 5 years ago

As suggested in this video (https://www.youtube.com/watch?v=AFtfpluqv14&t=585s) is a good practice to use the default folder, that is ~/.cache to put application cache files to have a cleaner home folder, so I would suggest updating the code and move the .mapscii folder in that folder.

jaller94 commented 5 years ago

Sounds like a great idea to allow the system or an administrator to clean up the cache or mount the ~/.cache to a temporary storage. 👍

Actual configs should go somewhere else (if mapscii ever gets those).

I think it should be ~/.cache/mapscii instead of ~/.cache/.mapscii. Is there any reason to make the sub folder a hidden folder?

ghost commented 5 years ago

Yeah, I think that ~/.cache/mapscii is better, there is no reason to make a hidden folder.

jaller94 commented 5 years ago

Should a terminal message suggest users to clean up ~/.mapscii/cache? Should the files be copied over?

ruppec commented 4 years ago

Is this going to be implemented sometime soon?