Fix bug in Windows build script

This commit is contained in:
Veronica Berglyd Olsen
2024-07-04 21:44:28 +02:00
parent eba0fa58bf
commit e40e282837
+1 -1
View File
@@ -956,7 +956,7 @@ def makeWindowsEmbedded(args: argparse.Namespace) -> None:
bldDir = CURR_DIR / "dist"
outDir = bldDir / "novelWriter"
libDir = outDir / "lib"
if outDir.exists:
if outDir.exists():
shutil.rmtree(outDir)
bldDir.mkdir(exist_ok=True)