-
Notifications
You must be signed in to change notification settings - Fork 11
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
URL opened as file path in WSL2 #20
Comments
I just fixed this 3 days ago (474f93b). I plan on releasing a new version very soon. |
But the current solution is relying on the presence of |
It's available for installation on other distros including Arch (which is also my WSL distro), but it's not preinstalled. I did just find out it's no longer preinstalled on Ubuntu as of 22.04. If |
I just released v0.6.0 which includes the fix. I opened #21 for the issue of requiring either |
I use
open_browser
to open thehttp://127.0.0.1:33541
in WSL2 withBROWSER="/mnt/c/Program Files/Firefox Nightly/firefox.exe"
The browser opens
file://///wsl.localhost/Arch/home/aaron/gear/http/127.0.0.133541
instead ofhttp://127.0.0.1:33541
.Such behavior is caused by wslpath:
Can we check if the opened path is a url first before passing it to
wslpath
?The text was updated successfully, but these errors were encountered: