-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
make wslview always use wslpath #201
Conversation
Fedora 34 rpmbuild fix
pkg: Further rpm spec update for Fedora 34
Arch Linux Quick Patch
Corrected the name of Fedora Remix and Pengwin Enterprise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since wslview
can also use as a browser, which allows you to open local webpages and websites, this code will break that part.
caa02c3
to
fabf1b9
Compare
I'm not sure what you mean exactly. So I made a change that bypasses |
Sorry for the late reply due to the burnout from the work. After a reread of your code, it is okay to be merged. Sorry for the hassle caused. |
Wslview currently dosn't work on paths you've mounted yourself, e.g:
Tries to open
\\wsl$\WSL\mnt\win\notepad.exe
which raises anInvalidOperationException
.However,
wslpath -w /mnt/win/notepad.exe
reports the correct path asC:\Windows\notepad.txt
, it also works for pure linux paths likewslpath -w /var/log/alternatives.log
, which reports\\wsl$\WSL\var\log\alternatives.log
.So I've modified the
wslview
script to now just always usewslpath
to get the windows path.