GWSL-Source
GWSL-Source copied to clipboard
#184 X Server IP helper fix
This PR fixes #184.
This PR might cause problems for people running older versions of WSL. All this PR does is update the way the WSL host IP is found.
References:
- https://github.com/Opticos/GWSL-Source/issues/184#issuecomment-2240028827
- https://github.com/microsoft/WSL/issues/11698#issuecomment-2176996205
- https://learn.microsoft.com/en-us/windows/wsl/networking
Since I don't have a development environment setup for this project, I did not build or even test these changes. I just used the GitHub web editor, so please double check and merge with caution.