diff --git a/util/wsl.psm1 b/util/wsl.psm1 index 5e7e59a..47fa620 100644 --- a/util/wsl.psm1 +++ b/util/wsl.psm1 @@ -3,7 +3,7 @@ function InstallWSL # Reference: https://learn.microsoft.com/en-us/windows/wsl/install-manual dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart - wsl.exe --update + wsl.exe --install --no-distribution wsl.exe --set-default-version 2 }