Fix bug in Windows build script
This commit is contained in:
+1
-1
@@ -956,7 +956,7 @@ def makeWindowsEmbedded(args: argparse.Namespace) -> None:
|
|||||||
bldDir = CURR_DIR / "dist"
|
bldDir = CURR_DIR / "dist"
|
||||||
outDir = bldDir / "novelWriter"
|
outDir = bldDir / "novelWriter"
|
||||||
libDir = outDir / "lib"
|
libDir = outDir / "lib"
|
||||||
if outDir.exists:
|
if outDir.exists():
|
||||||
shutil.rmtree(outDir)
|
shutil.rmtree(outDir)
|
||||||
|
|
||||||
bldDir.mkdir(exist_ok=True)
|
bldDir.mkdir(exist_ok=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user