From b2a288a01958a7089d6bb8bbbc79137d09d7ce69 Mon Sep 17 00:00:00 2001 From: Chris O'Neil Date: Mon, 19 Jun 2023 22:32:05 +0100 Subject: [PATCH] docs: alt mechanism for downloading install script Use `Invoke-RestMethod` rather than `System.Net.WebClient` for downloading the install script. When using the latter, we encountered issues with Powershell having an old version of TLS. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c32bf1..7ce8c81 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ curl -sSL https://raw.githubusercontent.com/maidsafe/safeup/main/install.sh | ba On Windows, we are currently not supporting installing either `safeup` or the other binaries with Administrator privileges, so there is only one command: ``` -iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/maidsafe/safeup/main/install.ps1')) +iex (Invoke-RestMethod -Uri "https://raw.githubusercontent.com/maidsafe/safeup/main/install.ps1") ``` The Powershell installer does not support the `--client` or `--node` arguments because it's not possible to pass them when the script is downloaded.