Skip to content

Is WSL definitely required? #9

Description

@langdonx

You can derive an appropriately slashed WIN_HOME variable as follows:

WIN_HOME=${USERPROFILE//\\/\/}
WIN_HOME=/${WIN_HOME/:/}

$ echo $WIN_HOME
/C/Users/langdonx

Or even use $LOCALAPPDATA to go straight to the app data directory without hard-coding that.

sudo would be the only other hurdle there. If the instructions said to run the script with sudo, would the script itself need to sudo the commands inside?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions