Skip to content

Commit

Permalink
Update wsl.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
suchsoak authored Oct 20, 2023
1 parent f70a674 commit 7ffe5b5
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions powershell/wsl.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ffe5b5

Please sign in to comment.