Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

UserData on Windows should be local. #16

Closed
MicahZoltu opened this issue Dec 28, 2016 · 0 comments
Closed

UserData on Windows should be local. #16

MicahZoltu opened this issue Dec 28, 2016 · 0 comments

Comments

@MicahZoltu
Copy link
Contributor

On Windows, AppData may be synced over the network on login/logout. Because of this, it is not recommended to store large user data in it and instead only store small config data. Since there is a separate entry for UserConfig, I believe the correct place for UserData is in LocalAppData (where you currently put UserCache).

andybarron pushed a commit that referenced this issue Feb 4, 2017
Fixes #16 and #17.

This changes the location of several folders to match Windows standards.  The full list can be found at https://msdn.microsoft.com/en-us/library/windows/desktop/dd378457(v=vs.85).aspx, though you will have to go to other MSDN articles to get details of their intended use:
[Local App Data](https://msdn.microsoft.com/en-us/windows/uwp/app-settings/store-and-retrieve-app-data#local-app-data)
[Roaming App Data](https://msdn.microsoft.com/en-us/windows/uwp/app-settings/store-and-retrieve-app-data#roaming-data)
[Program Data](https://msdn.microsoft.com/en-us/library/mt674655%28v=vs.85%29.aspx#10._apps_must_install_to_the_correct_folders_by_default)

Note: This is a breaking change so if this project follows semantic versioning it should be released as a major version bump.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant