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

%USERPROFILE%\.local folder on Windows #332

Closed
klkq opened this issue May 18, 2022 · 2 comments
Closed

%USERPROFILE%\.local folder on Windows #332

klkq opened this issue May 18, 2022 · 2 comments

Comments

@klkq
Copy link

klkq commented May 18, 2022

When running in server mode, Hysteria generates a folder named .local in %USERPROFILE% to store data, which should be located in %APPDATA% as Windows' convention.

@haruue
Copy link
Collaborator

haruue commented May 18, 2022

Seems like the directory is created by certmagic. I think we can provide an option in "acme" for customizing the certificate storage directory.
https://github.com/caddyserver/certmagic/blob/a48e34ff313ea8d7c84d5c60cd22ba7c1acdee28/filestorage.go#L363-L371

But if you want to change the default behavior, I recommend you to post this issue to the certmagic project.

@klkq
Copy link
Author

klkq commented May 19, 2022

Thanks for the information. AFAIK, providing the option might be useful to make the program portable.
And I have posted the issue to the certmagic project.

@klkq klkq closed this as completed May 19, 2022
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

2 participants