Fix non-functioning WSL installation

This commit is contained in:
Manuel Thalmann 2024-09-08 17:42:31 +02:00
parent 90e876699d
commit 5f89d3df85

View file

@ -54,6 +54,10 @@ function Test-WslDistribution {
#> #>
function Install-Wsl { function Install-Wsl {
wsl --install --no-launch; wsl --install --no-launch;
# Microsoft broke WSL - Quelle surprise!
# ToDo: Remove this workaround once it's unbroken
. "$PSScriptRoot/../../Common/Scripts/Software.ps1";
Install-SetupPackage "https://github.com/microsoft/WSL/releases/download/2.3.17/wsl.2.3.17.0.x64.msi" -ArgumentList "/Quiet";
} }
<# <#