Added temp iss file to gitignore, and fiex a bug in windows make

This commit is contained in:
Veronica K. B. Olsen
2020-10-17 01:30:13 +02:00
parent 115cef3ffb
commit 0665b9b032
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@
/deploy/
*.spec
*.egg-info
setup.iss
# Documentation
/docs/build/
+1 -1
View File
@@ -14,7 +14,6 @@ install all dependencies needed for runing the build, and for running
novelWriter itself.
"""
import nw
import os
import sys
import getopt
@@ -177,6 +176,7 @@ if makeSetup:
with open(os.path.join("setup", "win_setup.iss"), mode="r") as inFile:
issData = inFile.read()
import nw # noqa: E402
issData = issData.replace(r"%%version%%", nw.__version__)
issData = issData.replace(r"%%dir%%", os.getcwd())