Skip to content

pub uses %APPDATA% and not %LOCALAPPDATA% #22954

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

Closed
DartBot opened this issue Mar 23, 2015 · 3 comments
Closed

pub uses %APPDATA% and not %LOCALAPPDATA% #22954

DartBot opened this issue Mar 23, 2015 · 3 comments

Comments

@DartBot
Copy link

DartBot commented Mar 23, 2015

This issue was originally filed by [email protected]


What steps will reproduce the problem?

  1. Check pub's cache dir on Windows OR
  2. Check pub global's exes dir on Windows

What is the expected output? What do you see instead?

Stuff is stored in %USERPROFILE%\AppData\Roaming...

i. e.

%APPDATA%...

Because pub does not store configuration data, but cached data and scripts, it seems strange that pub stores stuff in the roaming profile, as Dart many not be installed on other computers the user accesses. It seems more adequate to store the cache and pub global exes in the %LOCALAPPDATA% folder.

Note that if config data was stored instead, it would be more justifiable to use %APPDATA%.

What version of the product are you using?

1.8.5

On what operating system?

Windows

@dgrove
Copy link
Contributor

dgrove commented Mar 25, 2015

Added Area-Pub, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/pub#1273.

@i-dee
Copy link

i-dee commented Aug 17, 2021

This issue has been moved to dart-lang/pub#1273.

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

4 participants