Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix open in browser doesn't work in WSL
On Linux, `x-default-browser` requires `xdg-utils` to be installed to determine a default browser. So it fails when it's not installed. However, in WSL, we still can open a browser without it. Now it fallbacks to `open` when `x-default-browser` fails which makes it work on WSL without `xdg-utils`.
- Loading branch information