From 71e8b3ca7f2651f5a0cbdc2ed7d0a68c74a55438 Mon Sep 17 00:00:00 2001 From: LoganDark Date: Mon, 10 May 2021 01:40:13 +0200 Subject: [PATCH] Remove arch from the script entirely everything is x64 anyway --- InstallWSL.psm1 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/InstallWSL.psm1 b/InstallWSL.psm1 index 8d37896..dccc729 100644 --- a/InstallWSL.psm1 +++ b/InstallWSL.psm1 @@ -384,7 +384,8 @@ function Install-WSLInteractive { $Distros | ForEach-Object { Add-Member -InputObject $_ -NotePropertyName Option -NotePropertyValue ([string]$Max) -Force - Write-Output " $Max) $($_.Name) ($($_.Arch))" + #Write-Output " $Max) $($_.Name) ($($_.Arch))" + Write-Output " $Max) $($_.Name)" $Max += 1 } @@ -411,7 +412,8 @@ function Install-WSLInteractive { } 'install-distro-confirm' { Write-Output '' - Write-Host " :: WARNING: Are you sure you want to install $($Distro.Name) ($($Distro.Arch))? (yes/no) " -NoNewLine + #Write-Host " :: WARNING: Are you sure you want to install $($Distro.Name) ($($Distro.Arch))? (yes/no) " -NoNewLine + Write-Host " :: WARNING: Are you sure you want to install $($Distro.Name)? (yes/no) " -NoNewLine $Input = $Host.UI.ReadLine() switch ($Input) { @@ -433,7 +435,8 @@ function Install-WSLInteractive { } 'install-distro' { Write-Output '' - Write-Output "Installing $($Distro.Name) ($($Distro.Arch))..." + #Write-Output "Installing $($Distro.Name) ($($Distro.Arch))..." + Write-Output "Installing $($Distro.Name)..." Install-WSL -LinuxDistribution ($Distro.Slug) $Menu = 'exit' }