Switch mingw links (#12561)
This commit is contained in:
parent
79a262d6e9
commit
0c7b6c9c15
5 changed files with 6 additions and 6 deletions
|
|
@ -45,7 +45,7 @@ proc download(pkg: string; c: Controls) {.async.} =
|
|||
|
||||
proc apply(a: Actions; c: Controls) {.async.} =
|
||||
if a.mingw:
|
||||
await download("mingw" & arch & "-6.3.0", c)
|
||||
await download("mingw" & arch, c)
|
||||
if a.aporia:
|
||||
await download("aporia-0.4.0", c)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import strutils, os, osproc, streams, browsers
|
|||
|
||||
const
|
||||
arch = $(sizeof(int)*8)
|
||||
mingw = "mingw$1-6.3.0.7z" % arch
|
||||
mingw = "mingw$1.7z" % arch
|
||||
url = r"https://nim-lang.org/download/" & mingw
|
||||
|
||||
var
|
||||
|
|
|
|||
|
|
@ -427,5 +427,5 @@ when isMainModule:
|
|||
else:
|
||||
echo "Status [" & $status & "] message = [" & $message & "]"
|
||||
|
||||
downloadToFile("https://nim-lang.org/download/mingw64-6.3.0.7z",
|
||||
downloadToFile("https://nim-lang.org/download/mingw64.7z",
|
||||
"test.zip", {optUseCache}, progress)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue