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

APPDATA not being detected Windows 10 #2

Open
fouram opened this issue Mar 25, 2022 · 0 comments
Open

APPDATA not being detected Windows 10 #2

fouram opened this issue Mar 25, 2022 · 0 comments

Comments

@fouram
Copy link

fouram commented Mar 25, 2022

Hardcoding the user's home directory on Windows breaks when the AppData\Roaming directory is moved. This also can cause issues on non-english systems.

You should pull the %APPDATA% environment variable. Anytime this is used in a domain environemnt with AppData\Roaming moved to a network share, it will break any application that uses it to store information there because it will either be denied access or it will end up on the C drive where it will not successfully roam with the profile.

EDIT: Reading from APPDATA is present in a roundabout way. Why is it not working on Windows 10? Does the OS identifier need to be updated?

@fouram fouram changed the title This breaks Windows - Don't hard-code paths! APPDATA not being detected Windows 10 Mar 25, 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

1 participant