From 72624de2b559fe3d1a17e8c261ad55bdeb642720 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 f97233a1..ff89092c 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"; } <#