cleanup: improved minor quality and descriptions

This commit is contained in:
Baipyrus 2024-11-24 21:42:00 +01:00
parent 5014da3a46
commit eed5118341
3 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,7 @@ function InstallPackages
function ChocolateyInstall
{
$install = Read-Host "Install as Administrator now? [Y/n]"
$install = Read-Host "Install Chocolatey Packages now? [Y/n]"
if ($install.ToLower() -eq 'n')
{ return
}

View File

@ -11,13 +11,12 @@ function InstallWinget
function WingetInstall
{
$install = Read-Host "Install WinGet now? [Y/n]"
$install = Read-Host "Install/Update WinGet now? [Y/n]"
if ($install.ToLower() -ne 'n')
{
# Start admin process, import this script, run 'InstallPackages' function
Start-Process powershell.exe -Verb RunAs -Wait `
-ArgumentList "-C", "'Import-Module ./winget.psm1; InstallWinget'"
}
winget.exe install -s winget --accept-source-agreements (Get-Content ./util/winget.list)

View File

@ -17,7 +17,7 @@ function WSLInstall
{ return
}
$install = Read-Host "Install WSL2 now? [Y/n]"
$install = Read-Host "Install/Update WSL2 now? [Y/n]"
if ($install.ToLower() -ne 'n')
{
# Start admin process, import this script, run 'InstallPackages' function