Added temp iss file to gitignore, and fiex a bug in windows make
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
/deploy/
|
/deploy/
|
||||||
*.spec
|
*.spec
|
||||||
*.egg-info
|
*.egg-info
|
||||||
|
setup.iss
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
/docs/build/
|
/docs/build/
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,6 @@ install all dependencies needed for runing the build, and for running
|
|||||||
novelWriter itself.
|
novelWriter itself.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import nw
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import getopt
|
import getopt
|
||||||
@@ -177,6 +176,7 @@ if makeSetup:
|
|||||||
with open(os.path.join("setup", "win_setup.iss"), mode="r") as inFile:
|
with open(os.path.join("setup", "win_setup.iss"), mode="r") as inFile:
|
||||||
issData = inFile.read()
|
issData = inFile.read()
|
||||||
|
|
||||||
|
import nw # noqa: E402
|
||||||
issData = issData.replace(r"%%version%%", nw.__version__)
|
issData = issData.replace(r"%%version%%", nw.__version__)
|
||||||
issData = issData.replace(r"%%dir%%", os.getcwd())
|
issData = issData.replace(r"%%dir%%", os.getcwd())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user