之前错误的把 boot:windows 改成 boot:win,忘了这是 run-script-os 规定的写法。又改了回去。
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
echo Run PowerShell in Administrator mode
|
||||
|
||||
echo Enable [Windows Subsystem for Linux] feature
|
||||
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
|
||||
|
||||
@@ -11,3 +13,8 @@ wsl --update
|
||||
wsl --shutdown
|
||||
wsl --list --online
|
||||
wsl --install -d Debian
|
||||
|
||||
@REM 2022-09-13
|
||||
@REM 发现安装 WSL 被简化了
|
||||
@REM https://docs.microsoft.com/en-us/windows/wsl/install (2022-08-13)
|
||||
@REM 只要 `wsl --install -d debian` 即可
|
||||
Reference in New Issue
Block a user