diff --git a/nimgen.nim b/nimgen.nim index 63ecce7..4d3c8ab 100644 --- a/nimgen.nim +++ b/nimgen.nim @@ -55,7 +55,7 @@ proc execProc(cmd: string): string = quit(1) proc extractZip(zipfile: string) = - var cmd = "unzip $#" + var cmd = "unzip -o $#" if defined(Windows): cmd = "powershell -nologo -noprofile -command \"& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('$#', '.'); }\""