# HG changeset patch # User sam # Date 1714299617 -25200 # Node ID 8c29e8b8ced9495458b84306aa67be8cfab3f005 # Parent c6cde8c5865e1ca696fb645402418611de63148f# Parent 657bb0b2af45f8b098de8c51d0f6da98f2690b48 merge diff -r 657bb0b2af45 -r 8c29e8b8ced9 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)} ."