diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-02-07 09:09:16 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-02-07 09:09:16 +0100 |
commit | eb9efed64bcff6fca07b008f6183f84f0560e0de (patch) | |
tree | 65d0815249f352a1a3dd9a126803e8318991e1fc | |
parent | a62c60ef870f6d1c26f6c91b93b2ba79bc7c5242 (diff) | |
download | Nim-eb9efed64bcff6fca07b008f6183f84f0560e0de.tar.gz |
downloader tool needs to use https
-rw-r--r-- | koch.nim | 2 | ||||
-rw-r--r-- | tools/downloader.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim index b1ab07e35..f21b904ab 100644 --- a/koch.nim +++ b/koch.nim @@ -223,7 +223,7 @@ proc bundleWinTools() = copyExe("tools/finish".exe, "finish".exe) removeFile("tools/finish".exe) nimexec("c -o:bin/vccexe.exe tools/vccenv/vccexe") - nimexec(r"c --cc:vcc --app:gui -o:downloader.exe --noNimblePath " & + nimexec(r"c --cc:vcc --app:gui -o:bin\downloader.exe -d:ssl --noNimblePath " & r"--path:..\ui tools\downloader.nim") proc zip(args: string) = diff --git a/tools/downloader.nim b/tools/downloader.nim index dc7b636aa..511e37f81 100644 --- a/tools/downloader.nim +++ b/tools/downloader.nim @@ -22,7 +22,7 @@ proc download(pkg: string; c: Controls) {.async.} = client.onProgressChanged = onProgressChanged # XXX give a destination filename instead - let contents = await client.getContent("http://nim-lang.org/download/" & pkg & ".zip") + let contents = await client.getContent("https://nim-lang.org/download/" & pkg & ".zip") let z = "dist" / pkg & ".zip" # XXX make this async somehow: writeFile(z, contents) |