|
|
@ -1,3 +1,7 @@ |
|
|
|
# Created for Windows 10 AME version 20H2 |
|
|
|
# Script version: 1.0.0 |
|
|
|
# Author: Logan Darklock <logandarklock+ame@gmail.com> (no spam please) |
|
|
|
|
|
|
|
# https://stackoverflow.com/a/34559554/ |
|
|
|
function New-TemporaryDirectory { |
|
|
|
$parent = [System.IO.Path]::GetTempPath() |
|
|
@ -132,7 +136,7 @@ Workflow Install-WSL { |
|
|
|
# once in a row. For example if you are installing multiple distros |
|
|
|
# Should work okay... |
|
|
|
|
|
|
|
Write-Information 'Restart your computer in 30 seconds or it will explode' |
|
|
|
Write-Information 'Please restart your computer to continue the installation' |
|
|
|
|
|
|
|
'restart-needed' |
|
|
|
Suspend-Workflow |
|
|
@ -365,7 +369,7 @@ function Install-WSLInteractive { |
|
|
|
while ($Menu -ne 'exit') { |
|
|
|
Clear-Host |
|
|
|
# 80 chars: ' ' |
|
|
|
Write-Host ' :: WSL INSTALL SCRIPT FOR WINDOWS 10 AME' |
|
|
|
Write-Host ' :: WSL INSTALL SCRIPT FOR WINDOWS 10 AME v1.0.0' |
|
|
|
Write-Host '' |
|
|
|
Write-Host ' This script will help you install Windows Subsystem for Linux on your' |
|
|
|
Write-Host ' ameliorated installation of Windows 10' |
|
|
|