3 ms·
You might try convincing projects to adopt the XDG spec[1] instead, might be easier. Might be. I've been trying something similar using Apple's framework bund
by brigandish 5y ago
You might try convincing projects to adopt the XDG spec[1] instead, might be easier.
Might be.
I've been trying something similar using Apple's framework bundle layout[2] and using XDG to point config files to ~/Library/ApplicationSupport etc, but programmers know better! Just spray whatever files you need into my home dir, developers, be my guest…
[1] https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html https://specifications.freedesktop.org/basedir-spec/latest/a...
[2] https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html https://developer.apple.com/library/archive/documentation/Ma...
- BiteCode_dev 5y agoBest way to make dev do that is to make it easy for them. E.G: I used to "spray my files in the home dir" for my apps, until I discovered "appdirs" (https://pypi.org/project/appdirs/1.4.0/ https://pypi.org/project/appdirs/1.4.0/). Once I had an easy way to always has a clean and correct path for my app config/data/tmp file, I just used it.