Skip to content

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

@DanTup

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions