cli icon indicating copy to clipboard operation
cli copied to clipboard

Use `APPDATA` / `LOCALAPPDATA` on Windows

Open andreaphylum opened this issue 3 years ago • 1 comments

We're currently using the XDG specification's file structure, which will fall back on using ~/.local under Windows. We may want to comply with Windows' convention of using the %APPDATA% and/or %LOCALAPPDATA% locations instead.

andreaphylum avatar May 06 '22 17:05 andreaphylum

I just want to point out that the dirs crate uses XDG and %APPDATA% automatically on Windows iirc. The only problem is that it also uses the macOS Library paths and stuff like that instead of ~/.config.

cd-work avatar May 06 '22 18:05 cd-work