将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名 改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为 nuance,并同步更新脚本内部引用与 README 路径。 Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
20 lines
700 B
Batchfile
20 lines
700 B
Batchfile
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
|
|
|
|
echo Enable [Virtual Machinese Platform] feature
|
|
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
|
|
|
|
echo Download https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
|
|
|
|
wsl --set-default-version 2
|
|
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` 即可 |