Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: check for semantic version #190

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ShGKme
Copy link

@ShGKme ShGKme commented Feb 19, 2025

StubExecutable expects app's version to be a valid semantic version

However, electron-wix-msi successfully creates a package with an invalid semantic version, e.g., Windows version 1.2.3.4. The created packages then cannot be launched from the created shortcut or Stub Executable.

This PR adds a check for version to be a valid semantic version and to prevent successful creation of an invalid package.

To make the change less destructive, it tries to transform a Windows version into a semantic one in the most probable case: 1.2.3.4 -> 1.2.3+4

Signed-off-by: Grigorii K. Shartsev <[email protected]>
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.

Stub Executable fails when passing 4-level version string
1 participant