Mercurial > games > semicongine
changeset 1015:2f45a598f6eb
merge
author | sam <sam@basx.dev> |
---|---|
date | Sun, 28 Apr 2024 17:20:17 +0700 |
parents | d601358b659e (diff) 967b8fa81b6b (current diff) |
children | 2762e6dd5f90 |
files | |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)} ."