mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-26 03:11:45 +00:00
using wsl install without distro for older versions
This commit is contained in:
parent
72061fd686
commit
cf885e7363
@ -3,7 +3,7 @@ function InstallWSL
|
|||||||
# Reference: https://learn.microsoft.com/en-us/windows/wsl/install-manual
|
# 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:Microsoft-Windows-Subsystem-Linux /all /norestart
|
||||||
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /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
|
wsl.exe --set-default-version 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user