AthanorLabs / atomic-swap

💫 ETH-XMR atomic swap implementation
GNU Lesser General Public License v3.0
345 stars 44 forks source link

Follow XDG Base Directory Specification #488

Open Lord-Valen opened 1 year ago

Lord-Valen commented 1 year ago

To comply with XDG Base Directory Specification, the default location for DATA_DIR should be "$XDG_DATA_HOME"/atomic-swap/{ENV} and XDG_DATA_HOME should fallback to "$HOME"/.local/share. Some of the contents of DATA_DIR could also belong in XDG_STATE_HOME, XDG_CACHE_HOME, or XDG_CONFIG_HOME. The full specification can be found here.