Skip to content

Commit

Permalink
docs: add wsl troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore authored Apr 13, 2021
1 parent 7d718c1 commit 1cd4c3a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,17 @@ Wait a while or `Ctrl+C` if you can't. That's all.

## Troubleshooting

In MacOS, you can do something like this:
In **MacOS**, you can do something like this:

```sh
echo '#!/bin/sh\n\n/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome $@' > /usr/local/bin/chrome

chmod +x /usr/local/bin/chrome
```

In other OS, you can do something equivalent to above. The idea is `chrome` command should point to **Chrome Browser**.
In **WSL**, you can symlink chrome from host WinOS like this:
```sh
sudo ln -s /mnt/c/Program\ Files/Google/Chrome/Application/chrome.exe /usr/local/bin/chrome
```

In other OS, you can do something equivalent to above. The idea is `chrome` command should point to **Chrome Browser**.

0 comments on commit 1cd4c3a

Please sign in to comment.