diff options
| -rw-r--r-- | nimterop/git.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/git.nim b/nimterop/git.nim index c51c079..9998a44 100644 --- a/nimterop/git.nim +++ b/nimterop/git.nim @@ -68,7 +68,7 @@ proc downloadUrl*(url, outdir: string) = echo "Downloading " & file mkDir(outdir) var cmd = if defined(Windows): - "powershell wget $# -OutFile $#" + "powershell [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; wget $# -OutFile $#" else: "curl $# -o $#" discard execAction(cmd % [url, outdir/file]) |
