Skip to content

Commit

Permalink
docs: alt mechanism for downloading install script
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jacderida authored and joshuef committed Jun 19, 2023
1 parent c18f60b commit b2a288a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b2a288a

Please sign in to comment.