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

Warn user if Flutter is installed in a (common) protected folder #2225

Closed
DanTup opened this issue Jan 16, 2020 · 0 comments · Fixed by #2233
Closed

Warn user if Flutter is installed in a (common) protected folder #2225

DanTup opened this issue Jan 16, 2020 · 0 comments · Fixed by #2233
Labels
in flutter Relates to running Flutter apps is enhancement
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Jan 16, 2020

This is called out on the Flutter website, but it still comes up now and then (for ex. #2222).

Since the failure is not always obvious (especially since it may appear to work from a terminal - if that terminal is running elevated), we should show a warning. We can use the env variables (see https://pureinfotech.com/list-environment-variables-windows-10/) to get the problematic locations, and do a case-insensitive startsWith against the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in flutter Relates to running Flutter apps is enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant