GWSL-Source
GWSL-Source copied to clipboard
Automatically install WSL2
One of the biggest causer-of-issues I've noticed for gwsl is that users have WSL1 installed instead of WSL2.
Could gwsl run a check, notice if WSL2 is installed, and if it's not, give the user an option to upgrade? Most of the upgrade process is done via PowerShell scripts, so maybe gwsl could automate this process.
Bizarrely, this is actually already implemented in GWSL. The problem is that the cli interface of wsl is updated often and it breaks the system. At this stage it makes more sense to leave it as is. A note can be made in the manual however.
I see that. I just installed GWSL on a new machine, and I got this issue. I had installed GWSL and Ubuntu, but not WSL.
https://user-images.githubusercontent.com/43968991/144677833-6fd7318e-c6e6-4772-bfb6-73e75f8b7552.mp4
Maybe, even if you can't install WSL2, you could give a popup and link users to a page giving the process?
Sure. During break I'll install a new windows 11 machine and fix things up