We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f70a674 commit 7ffe5b5Copy full SHA for 7ffe5b5
1 file changed
powershell/wsl.ps1
@@ -70,21 +70,17 @@ if($true){
70
break
71
}
72
4 {Write-Host "Archlinux" -ForegroundColor Blue
73
- if($false){
74
- git clone https://github.com/yuk7/ArchWSL.git
75
-
76
- }else {
77
- Write-Host
78
- Write-Host "Git Install" .ForegroundColor Yellow
79
- 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
80
Clear-Host
81
Write-Host
82
- Write-Host "Arch Linux"
+ curl -O arch.zip https://github.com/yuk7/ArchWSL/releases/download/22.10.16.0/Arch.zip
+ .\arch.zip
+
+ }else{
83
84
85
- Write-Host "Arch linux Installed"
86
87
- break
88
89
5 {Write-Host "Opensuse"
90
wsl --install -d opensuse-leap-15.5
0 commit comments