yrp604 / rappel

A linux-based assembly REPL for x86, amd64, armv7, and armv8
Other
1.16k stars 55 forks source link

Write data files to XDG_DATA_HOME if it exists #30

Closed unavaliabl3 closed 3 years ago

unavaliabl3 commented 3 years ago

Fallback to HOME, if XDG_DATA_HOME does not exist. The XDG Base Directory Specification is a widely used specification which specifies where files should be located depending on their usage published by the freedesktop.org-organization.

ref: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

yrp604 commented 3 years ago

lgtm, thanks!