Skip to content

Bugfix/add pyinstaller spec#16

Merged
PrestonHager merged 3 commits into
mainfrom
bugfix/add-pyinstaller-spec
Jan 18, 2026
Merged

Bugfix/add pyinstaller spec#16
PrestonHager merged 3 commits into
mainfrom
bugfix/add-pyinstaller-spec

Conversation

@PrestonHager
Copy link
Copy Markdown
Owner

This pull request makes small adjustments to the installer script for Wordweaver to update file paths for the output installer and the main executable.

  • The output installer will now be placed in the dist directory instead of its parent.
  • The path to the main executable in the installer section has been updated to reflect its location in the dist\Wordweaver subdirectory.

The NSIS installer script expects a single executable at dist/Wordweaver.exe,
but the spec was creating a folder-based build. Now Windows builds use
onefile mode while macOS/Linux keep the folder-based build for app bundles.
NSIS resolves paths relative to where makensis is invoked, not the NSI
file location. Since the workflow runs makensis from the project root,
the paths need to be relative to that directory.
Reverts to consistent folder-based output (dist/Wordweaver/) on all
platforms. Updates NSIS script to expect dist/Wordweaver/Wordweaver.exe.
Copilot AI review requested due to automatic review settings January 18, 2026 04:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes path references in the NSIS installer script to correctly work when invoked from the root directory (as shown in the CI/CD workflow). The paths are updated to align with PyInstaller's output structure and the actual execution context.

Changes:

  • Updated OutFile path to place the installer in the dist directory relative to the root
  • Updated the main executable path to reference the correct location in dist\Wordweaver\ subdirectory created by PyInstaller's COLLECT

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@PrestonHager PrestonHager merged commit 3a664d3 into main Jan 18, 2026
7 checks passed
@PrestonHager PrestonHager deleted the bugfix/add-pyinstaller-spec branch January 18, 2026 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants