felix icon indicating copy to clipboard operation
felix copied to clipboard

logfile should in xdg_state_dir

Open Decodetalkers opened this issue 1 year ago • 1 comments

I think log should put in here, this is where log file put

https://github.com/dirs-dev/dirs-rs/blob/main/src/lin.rs#L15

Decodetalkers avatar Jul 13 '23 15:07 Decodetalkers

Thanks for the suggestion.

I'm not sure if that's the best way to store log files. First, using ~/.local/state instead of ~/.local/share would increase the number of directories created by felix, which may not be desirable for some people. Additionally, macOS and Windows lack an equivalent to XDG_STATE_HOME, further complicating this issue.

For now, I'll stick with the current approach, but I'll keep my eye on this.

kyoheiu avatar Jul 14 '23 20:07 kyoheiu