# HG changeset patch # User sam # Date 1714299617 -25200 # Node ID 2f45a598f6ebccbd51d831a33836484311634754 # Parent d601358b659e391779e6227c9604a6761404c14b# Parent 967b8fa81b6b8d74af6ed2f3f2e3f48308791052 merge diff -r 967b8fa81b6b -r 2f45a598f6eb semicongine/build.nim --- a/semicongine/build.nim Sat Apr 27 22:04:30 2024 +0700 +++ b/semicongine/build.nim Sun Apr 28 17:20:17 2024 +0700 @@ -66,6 +66,8 @@ for resourceDir in resourceRoot.listDirs(): let outputfile = joinPath(outdir_resources, resourceDir.splitPath().tail & ".zip") withdir resourceDir: + if outputfile.fileExists: + outputfile.rmFile() if defined(linux): echo &"zip -r {relativePath(outputfile, resourceDir)} ." exec &"zip -r {relativePath(outputfile, resourceDir)} ."