Merge pull request #3 from github/needs-moar-vim

Install vim by default
This commit is contained in:
Markus Olsson 2015-12-14 16:30:10 +01:00
Родитель ab94d71582 68c1c4acd5
Коммит 2f24915353
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -5,7 +5,7 @@ function Install-Cygwin {
$client = New-Object Net.WebClient
$cygwinInstaller = Join-Path ([IO.Path]::GetTempPath()) ([IO.Path]::GetRandomFileName() + ".exe")
$client.DownloadFile("http://cygwin.com/setup-x86.exe", $cygwinInstaller)
$client.DownloadFile("https://cygwin.com/setup-x86.exe", $cygwinInstaller)
$packages = @(
'libintl8',
@ -35,7 +35,9 @@ function Install-Cygwin {
'libhx509_5',
'libsqlite3_0',
'libroken18',
'openssh'
'openssh',
'vim',
'vim-common'
)
$process = Start-Process -PassThru $cygwinInstaller --quiet-mode, --site, http://mirrors.kernel.org/sourceware/cygwin, --local-package-dir, C:\ProgramData\Cygwin, --packages, ($packages -join ",")