From 5f89d3df8572c004b76e49159abc78a35b83cc5d Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 8 Sep 2024 17:42:31 +0200 Subject: [PATCH] Fix non-functioning WSL installation --- scripts/Windows/Scripts/WSL.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/Windows/Scripts/WSL.ps1 b/scripts/Windows/Scripts/WSL.ps1 index 3039fc66..fec3fa71 100644 --- a/scripts/Windows/Scripts/WSL.ps1 +++ b/scripts/Windows/Scripts/WSL.ps1 @@ -54,6 +54,10 @@ function Test-WslDistribution { #> function Install-Wsl { 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"; } <#