Emscripten: Config and cache files should be stored in a special directory by default

Created on 21 Jul 2018  路  4Comments  路  Source: emscripten-core/emscripten

emscripten has already created these files in my home directory
.emscripten
.emscripten_cache__last_clear
.emscripten_ports/
.emscripten_sanity
.emscripten_cache/
.emscripten_cache.lock

To avoid cluttering ~, I suggest that such files be stored in something like ~/.emscripten.d/.

good first bug help wanted wontfix

Most helpful comment

Pardon my intrusion. Why don't use XDG Base Directiry specification? I mean $XDG_CACHE_HOME, $XDG_CONFIG_HOME and $XDG_DATA_HOME which are ~/.config, ~/.cache and ~/.local/share, respectively, by default?

All 4 comments

Sounds reasonable to me. Perhaps except for the .emscripten config file, though - moving that would be much more noticeable than the others, and could surprise people. But all the rest could be combined into one dir.

Pardon my intrusion. Why don't use XDG Base Directiry specification? I mean $XDG_CACHE_HOME, $XDG_CONFIG_HOME and $XDG_DATA_HOME which are ~/.config, ~/.cache and ~/.local/share, respectively, by default?

This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.

Closing in favor of #3624

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jcfr picture jcfr  路  4Comments

HolgerStrauss picture HolgerStrauss  路  4Comments

phraemer picture phraemer  路  3Comments

answer1103 picture answer1103  路  4Comments

ShawZG picture ShawZG  路  4Comments