Merge pull request #728 from vkbo/issue727_pyw_file

Fix Win-Install from Source
This commit is contained in:
Veronica Berglyd Olsen
2021-03-27 22:16:22 +01:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@
*.egg-info
setup.iss
novelwriter.desktop
novelWriter.pyw
i18n/*.qm
i18n/*.qph
+3
View File
@@ -695,6 +695,9 @@ def winInstall():
targetPy = os.path.join(targetDir, "novelWriter.pyw")
targetIcon = os.path.join(targetDir, "nw", "assets", "icons", "novelwriter.ico")
if not os.path.isfile(targetPy):
shutil.copy2(os.path.join(targetDir, "novelWriter.py"), targetPy)
print("Collecting Info ...")
print("Desktop Folder: %s" % desktopDir)
print("Start Menu Folder: %s" % startMenuDir)