Skip to content

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

Closed

Description

@DanTup

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.

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in flutterRelates to running Flutter apps
    on Jan 16, 2020
  2. added this to the v3.8.0 milestone on Jan 16, 2020
  3. added a commit that references this issue on Jan 24, 2020
    072beaf
  4. added a commit that references this issue on Jan 27, 2020
    7160c9b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in flutterRelates to running Flutter appsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions