update process for windows

This commit is contained in:
Paul Wilde 2025-01-02 17:39:18 +00:00
parent 4590b0ce7a
commit b2fdf9e5d5

View file

@ -51,8 +51,8 @@ proc extractUpdate(name, file: string) =
proc updateNorg(version: string, j: JsonNode) =
let newvers = version[1..^1].replace(".","_")
#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}_{hostCPU}-{newvers}.tar.gz"
#let check_file = fmt"norg_{hostOS}_{newvers}.tar.gz"
var update_found = false
for asset in j["assets"].getElems():
let name = asset["name"].getStr()