From 4eaaf97af200a3f26b650eb02b6a7d6f9f925b44 Mon Sep 17 00:00:00 2001 From: Count Jocular Date: Tue, 18 Feb 2020 09:53:22 +0000 Subject: [PATCH] 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. --- install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.py b/install.py index 14356f23..2d05835d 100755 --- a/install.py +++ b/install.py @@ -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: