mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-26 03:11:45 +00:00
cleanup: improved minor quality and descriptions
This commit is contained in:
parent
5014da3a46
commit
eed5118341
@ -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
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user