Closed joutvhu closed 10 months ago
Hello there! As you are a first time Issuer please read our Code of Conduct. Please also check whether your issue description is reasonable and complete. If you are having an issue always include the version you are using (WSL, this app, Windows) as well as a way to reproduce it.
Yes, its an annoying bug. Stumbled upon it while freeing up some space from my C drive.
Hi @bostrot,
This error was caused by DistroPath
not being set.
I fixed it in the following pull request https://github.com/bostrot/wsl2-distro-manager/pull/209
Please help to review the pull request
Now it simply crashes the distro manager when changing the volume path.
The application crashed by the FilePicker.platform.getDirectoryPath
method. I've seen it before.
If you change the path by selecting, the application will exit. If you change the path by typing, no error will appear.
Looks like it comes from the file_picker library.
Is there an existing issue for this?
Current Behavior
I have changed the Default Distro Location to
F:\ProgramData\WSL2-Distros
However when I use
Open with File Explorer
orMove
to default location it use pathC:\WSL2-Distros
Expected Behavior
F:\ProgramData\WSL2-Distros
should be opened when clickingOpen in File Explorer
F:\ProgramData\WSL2-Distros
when clickingMove
C:\WSL2-Distros
should not be created when open Application.Steps To Reproduce
Settings
> changeDefault Distro Location
Home
> select a distribution > clickOpen in File Explorer
Environment
Anything else?
No response