rust-xdg icon indicating copy to clipboard operation
rust-xdg copied to clipboard

Support windows

Open dsisnero opened this issue 1 year ago • 1 comments

A lot of crates use this and so they are not able to use XDG spec on windows. If I have XDG directories set on Windows - I want these to be used and then fallback to LocalAppData when not set

If there is a set non-empty XDG environment variable and it points to a valid absolute path, it should be used. Otherwise, use the Windows known files specification to find the OS-defined folder. Is this possible?

dsisnero avatar Jan 10 '24 21:01 dsisnero

Duplicate of #28.

whitequark avatar Jan 10 '24 22:01 whitequark