From 7ffe5b5df9bbc46a3ad6a9f217154ebe9d26ba1b Mon Sep 17 00:00:00 2001 From: ~#M?x <89079595+suchsoak@users.noreply.github.com> Date: Fri, 20 Oct 2023 15:33:18 -0300 Subject: [PATCH] Update wsl.ps1 --- powershell/wsl.ps1 | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/powershell/wsl.ps1 b/powershell/wsl.ps1 index 5778062..fa741d6 100644 --- a/powershell/wsl.ps1 +++ b/powershell/wsl.ps1 @@ -70,21 +70,17 @@ if($true){ break } 4 {Write-Host "Archlinux" -ForegroundColor Blue - if($false){ - git clone https://github.com/yuk7/ArchWSL.git - - }else { - Write-Host - Write-Host "Git Install" .ForegroundColor Yellow - winget install --id=Git.Git -e + if($true){ + Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All + DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V Clear-Host Write-Host - Write-Host "Arch Linux" + curl -O arch.zip https://github.com/yuk7/ArchWSL/releases/download/22.10.16.0/Arch.zip + .\arch.zip + + }else{ } - Write-Host "Arch linux Installed" - Write-Host - break } 5 {Write-Host "Opensuse" wsl --install -d opensuse-leap-15.5