Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for finding Roaming directories under Windows #106

Open
abulka opened this issue May 29, 2018 · 0 comments
Open

Support for finding Roaming directories under Windows #106

abulka opened this issue May 29, 2018 · 0 comments

Comments

@abulka
Copy link

abulka commented May 29, 2018

It would be nice if appdirs was updated to support finding roaming profile directory paths under Windows 10. I'm using a nodejs package that does something similar to appdirs called electron-log which interestingly, under windows, writes logs to %USERPROFILE%\AppData\Roaming\<app name>\log.log.

I'm trying to my align my nodejs and python log locations, and since appdirs doesn't support roaming paths, the closest I can get is

os.path.normpath(os.path.join(user_log_dir(), os.path.join('..', '..', 'Roaming', <app name>, LOG_FILENAME)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant