Skip to content

feat(plugin): add per-OS jpackageVersion for jpackage app-image#255

Open
sproctor wants to merge 1 commit into
NucleusFramework:mainfrom
sproctor:feat/jpackage-version
Open

feat(plugin): add per-OS jpackageVersion for jpackage app-image#255
sproctor wants to merge 1 commit into
NucleusFramework:mainfrom
sproctor:feat/jpackage-version

Conversation

@sproctor
Copy link
Copy Markdown
Contributor

jpackage rejects SemVer pre-release/build metadata (e.g. "2.3.5-beta.7" fails with "invalid component [5-beta.7]"), but it is the only backend that builds the app-image (RawAppImage); all installer formats route through electron-builder, which accepts full SemVer.

Add a per-OS jpackageVersion (windows/macOS/linux) used only for the jpackage app-image, falling back to packageVersion when unset. The value is passed to jpackage as-is. electron-builder formats continue to use packageVersion with the SemVer suffix intact.

jpackage rejects SemVer pre-release/build metadata (e.g. "2.3.5-beta.7"
fails with "invalid component [5-beta.7]"), but it is the only backend
that builds the app-image (RawAppImage); all installer formats route
through electron-builder, which accepts full SemVer.

Add a per-OS `jpackageVersion` (windows/macOS/linux) used only for the
jpackage app-image, falling back to `packageVersion` when unset. The
value is passed to jpackage as-is. electron-builder formats continue to
use `packageVersion` with the SemVer suffix intact.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant