Update install.py with correct paths

Update install.py with correct joined paths for the `themes` folder and the `graphics` folder. This bug prevented pyInstaller from building successfully under Windows.
This commit is contained in:
Count Jocular
2020-02-18 09:53:22 +00:00
committed by GitHub
parent 08abdeabb0
commit 4eaaf97af2
+2 -2
View File
@@ -63,8 +63,8 @@ else:
instOpt = [
"--name=novelWriter",
"--onefile",
"--add-data=%s%s%s" % (os.path.join("nw", "themes"), dotDot,"themes"),
"--add-data=%s%s%s" % (os.path.join("nw", "graphics"),dotDot,"graphics"),
"--add-data=%s%s%s" % (os.path.join("nw", "assets", "themes"), dotDot,"themes"),
"--add-data=%s%s%s" % (os.path.join("nw", "assets", "graphics"), dotDot,"graphics"),
"--icon=%s" % os.path.join("nw", "assets", "icons", "novelWriter.ico"),
]
if buildWindowed: