update process for windows
This commit is contained in:
parent
4590b0ce7a
commit
b2fdf9e5d5
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ proc extractUpdate(name, file: string) =
|
||||||
|
|
||||||
proc updateNorg(version: string, j: JsonNode) =
|
proc updateNorg(version: string, j: JsonNode) =
|
||||||
let newvers = version[1..^1].replace(".","_")
|
let newvers = version[1..^1].replace(".","_")
|
||||||
#let check_file = fmt"norg_{hostOS}_{hostCPU}-{newvers}.tar.gz"
|
let check_file = fmt"norg_{hostOS}_{hostCPU}-{newvers}.tar.gz"
|
||||||
let check_file = fmt"norg_{hostOS}_{newvers}.tar.gz"
|
#let check_file = fmt"norg_{hostOS}_{newvers}.tar.gz"
|
||||||
var update_found = false
|
var update_found = false
|
||||||
for asset in j["assets"].getElems():
|
for asset in j["assets"].getElems():
|
||||||
let name = asset["name"].getStr()
|
let name = asset["name"].getStr()
|
||||||
|
|
Loading…
Reference in a new issue