Skip to content
New issue

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

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

Already on GitHub? # to your account

On Windows, config should go into env.AppData #8

Closed
MicahZoltu opened this issue Oct 21, 2018 · 2 comments
Closed

On Windows, config should go into env.AppData #8

MicahZoltu opened this issue Oct 21, 2018 · 2 comments

Comments

@MicahZoltu
Copy link

MicahZoltu commented Oct 21, 2018

%AppData% on windows rooms across the network/domain and is more likely to be backed up. For configuration (small user specific files managed by the application), this should go into AppData.

%LocalAppData% is per machine (not synced across network on login/logout), and so cache, program data, and logs are correct to go in there.

@sindresorhus
Copy link
Owner

Can you link to a source about this?

@MicahZoltu
Copy link
Author

Here are a handful of sources, unfortunately not all of them are particularly easy reads. I have included them here in the order that I would recommend skimming over them to get the answers you seek, though if you have a bunch of time you could try to digest them all. :)

https://msdn.microsoft.com/en-us/library/windows/desktop/bb762494(v=vs.85).aspx
microsoft/vscode#3884
https://superuser.com/a/632899/401511
https://msdn.microsoft.com/en-us/library/windows/apps/hh465094.aspx
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-vista/cc766489(v=ws.10)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants