mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-25 10:51:46 +00:00
provide additional user feedback with consistent style
This commit is contained in:
parent
0da955a90d
commit
7aa94ca8e2
@ -15,7 +15,7 @@ function InstallWinget
|
||||
Invoke-WebRequest $url -OutFile $setup
|
||||
}
|
||||
|
||||
Write-Host "Installing WinGet app package ..."
|
||||
Write-Host "Installing WinGet app package..."
|
||||
Add-AppxPackage -Path $setup
|
||||
}
|
||||
|
||||
|
@ -1,8 +1,9 @@
|
||||
function InstallWSL
|
||||
{
|
||||
# Reference: https://learn.microsoft.com/en-us/windows/wsl/install-manual
|
||||
Enable-WindowsOptionalFeature -Online -FeatureName "Microsoft-Windows-Subsystem-Linux" -All -NoRestart
|
||||
Enable-WindowsOptionalFeature -Online -FeatureName "VirtualMachinePlatform" -All -NoRestart
|
||||
Write-Host "Enabling and downloading required Windows Features..."
|
||||
Enable-WindowsOptionalFeature -Online -FeatureName "Microsoft-Windows-Subsystem-Linux" -All -NoRestart | Out-Null
|
||||
Enable-WindowsOptionalFeature -Online -FeatureName "VirtualMachinePlatform" -All -NoRestart | Out-Null
|
||||
Write-Host "Installing WSL2..."
|
||||
wsl.exe --install --no-distribution
|
||||
wsl.exe --set-default-version 2
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user