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

Is WSL definitely required? #9

Open
langdonx opened this issue Jul 19, 2019 · 0 comments
Open

Is WSL definitely required? #9

langdonx opened this issue Jul 19, 2019 · 0 comments

Comments

@langdonx
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant