Closed nagromc closed 7 months ago
What's the exact path you would expect it to be in Windows? %APPDATA%/presenterm/config.yaml
?
Well, it’s up to your implementation, actually.
I think we should respect platform-specific paths:
%APPDATA%/presenterm/config.yaml
(will point to %USERPROFILE%/AppData/Roaming/presenterm/config.yaml
)~/.config/presenterm/config.yaml
~/Library/notSureOfThisPart/presenterm/config.yaml
Or, if you want to keep it simple, ~/.config/presenterm/config.yaml
on every platform.
Thanks for the report! I verified this works as expected in windows (see PR for paths) but feel free to double check.
It works as expected on Windows on my side. Thanks!
The
config.yaml
file is ignored on Windows unless I set theHOME
environment variable to%USERPROFILE%
.%APPDATA%
should be preferred on Windows though.Using the
directories
crate may help to load platform-specific paths (%APPDATA%
on Windows for example).presenterm v0.5.0