From 0f8a9f3858fc193023191a5610d16b91c5d0991e Mon Sep 17 00:00:00 2001 From: CallmeJoeBob Date: Sat, 24 Feb 2018 12:55:15 -0500 Subject: [PATCH 1/2] Tested a readme change --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6688d2d7141..8187fe3b53b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # ![logo][] PowerShell +Test change + Welcome to the PowerShell GitHub Community! PowerShell Core is a cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework that works well with your existing tools and is optimized for dealing with structured data (e.g. JSON, CSV, XML, etc.), REST APIs, and object models. From b22b0532cd0078035e7b0e5641c3888d56f0aee2 Mon Sep 17 00:00:00 2001 From: CallmeJoeBob Date: Sat, 24 Feb 2018 13:27:53 -0500 Subject: [PATCH 2/2] Fixed TLS version error on Windows when building PowerShell --- README.md | 2 -- build.psm1 | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8187fe3b53b..6688d2d7141 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # ![logo][] PowerShell -Test change - Welcome to the PowerShell GitHub Community! PowerShell Core is a cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework that works well with your existing tools and is optimized for dealing with structured data (e.g. JSON, CSV, XML, etc.), REST APIs, and object models. diff --git a/build.psm1 b/build.psm1 index af8cecb77d9..b27f2106ca6 100644 --- a/build.psm1 +++ b/build.psm1 @@ -1683,6 +1683,10 @@ function Start-PSBootstrap { log "Install RCEdit for modifying exe resources" $rceditUrl = "https://github.com/electron/rcedit/releases/download/v1.0.0/rcedit-x64.exe" New-Item -Path "~/.rcedit" -Type Directory -Force > $null + + ## need to specify TLS version 1.2 since GitHub API requires it + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 + Invoke-WebRequest -OutFile "~/.rcedit/rcedit-x64.exe" -Uri $rceditUrl }