Repository navigation
Fix Linux GUI executable casing in nightly archive - #711
Merged
Merged
Conversation
electron-builder's Linux target lowercases the GUI binary by default, so the nightly tarball shipped `projectGenerator-x.y.z/projectgenerator`. The openFrameworks installer looks for case-sensitive `projectGenerator` and fails before its bundled CLI fallback runs. Set `executableName` on the `linux` config so the GUI binary keeps its correct case alongside the existing ASAR layout and unpacked native CLI. Extend `scripts/test_asar_package.cjs` to check the GUI executable filename (exact case, no lowercase variant) and its exec bit on Linux, so the regression surfaces in CI across Ubuntu 24 x64, Ubuntu 22 x64 and Linux arm64. Bump GUI 0.122.0 -> 0.123.0 and CLI 0.127.0 -> 0.128.0 per the repo's release-version policy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
electron-builder's Linux target lowercases the GUI executable by default, so the nightly tarball shipped as:
The openFrameworks installer expects the case-sensitive name
projectGenerator, so installation fails on Linux before the bundled CLI fallback is reached. The bundled CLI and ASAR layout were already correct; the failure is purely the GUI executable's filename.linux.executableName: projectGeneratorinfrontend/package.jsonso electron-builder emits the GUI binary with its correct case on all Linux arches.asar: true,asarUnpack: [\"app/**/*\"]).scripts/test_asar_package.cjswith a regression check that verifies, by directory listing (so it's correct on case-sensitive ext4 CI runners):projectGeneratoron Linux,projectGenerator.exeon Windows),0.122.0 -> 0.123.0and CLI0.127.0 -> 0.128.0per the repo's release-version policy;frontend/npm-shrinkwrap.jsonroot versions are updated to match.Versions
frontend/package.json,frontend/npm-shrinkwrap.json): 0.123.0commandLine/src/defines.h): 0.128.0python3 scripts/check_release_versions.py origin/master-> `Release versions OK: GUI 0.123.0, CLI 0.128.0`