diff --git a/appveyor.yml b/appveyor.yml index 8d000890..6800ec75 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,2 +1,2 @@ -install: windows_cygwin\bootstrap.bat +install: windows_cygwin\bootstrap.ps1 build_script: windows_cygwin\build.bat diff --git a/windows_cygwin/README.md b/windows_cygwin/README.md index f94dfc59..818bb7e2 100644 --- a/windows_cygwin/README.md +++ b/windows_cygwin/README.md @@ -1,3 +1,4 @@ -Bootstrap from cmd.exe: +Bootstrap from cmd.exe running as Administrator: - + bootstrap.bat + ssh-keygen -b 8192 diff --git a/windows_cygwin/bootstrap.bat b/windows_cygwin/bootstrap.bat deleted file mode 100644 index fb41e542..00000000 --- a/windows_cygwin/bootstrap.bat +++ /dev/null @@ -1,4 +0,0 @@ -echo on -@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin -choco install -y git win32-openssh - diff --git a/windows_cygwin/bootstrap.ps1 b/windows_cygwin/bootstrap.ps1 new file mode 100644 index 00000000..dbec7a91 --- /dev/null +++ b/windows_cygwin/bootstrap.ps1 @@ -0,0 +1,3 @@ +iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex +choco install -y git win32-openssh +