The [appdirs](https://pypi.org/project/appdirs/) Python package has all this 
logic, so probably a good starting point for a nim package.

Reply via email to