Skip to content

Check if user.home folder can be used before downloading tool #189

@sbouchet

Description

@sbouchet

see redhat-developer/intellij-openshift-connector#538 for reported issue.

tracked down to

Path path = Paths.get(tool.getBaseDir().replace("$HOME", CommonConstants.HOME_FOLDER), "cache", tool.getVersion(), command);

the issue is the user can't execute downloaded file because IJ openshift uses $HOME/.odo as destination.

proposed change if to move to System.getenv("APPDATA") for windows users?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions