Skip to content

fix(wsl): check wsl status is incorrect#87

Merged
ihexon merged 1 commit intomainfrom
fix-wsl
Feb 28, 2025
Merged

fix(wsl): check wsl status is incorrect#87
ihexon merged 1 commit intomainfrom
fix-wsl

Conversation

@BlackHole1
Copy link
Member

When there is no WSL installed on the computer, executing wsl --version or wsl --set-default-version will directly start downloading WSL, which is inconsistent with the expected behavior and will lead our code logic to think that Windows features are not enabled.

Therefore, we placed the WSL update logic at the very beginning to avoid this issue.

Signed-off-by: Kevin Cui <bh@bugs.cc>
@BlackHole1 BlackHole1 requested a review from ihexon February 28, 2025 04:43
@ihexon ihexon merged commit be72093 into main Feb 28, 2025
1 check passed
@ihexon ihexon deleted the fix-wsl branch February 28, 2025 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants