Skip to content

Fix Linux GUI executable casing in nightly archive - #711

Merged
danoli3 merged 1 commit into
masterfrom
fix/linux-gui-executable-case
Nov 18, 2026
Merged

danoli3 merged 1 commit into
masterfrom
fix/linux-gui-executable-case

Conversation

@danoli3

@danoli3 danoli3 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

electron-builder's Linux target lowercases the GUI executable by default, so the nightly tarball shipped as:

projectGenerator-0.122.0/projectgenerator            <- lowercased GUI binary
projectGenerator-0.122.0/resources/app.asar
projectGenerator-0.122.0/resources/app.asar.unpacked/app/projectGenerator

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.

  • Set linux.executableName: projectGenerator in frontend/package.json so electron-builder emits the GUI binary with its correct case on all Linux arches.
  • Preserve the existing ASAR layout and unpacked native CLI (asar: true, asarUnpack: [\"app/**/*\"]).
  • Extend scripts/test_asar_package.cjs with a regression check that verifies, by directory listing (so it's correct on case-sensitive ext4 CI runners):
    • the GUI executable exists with its exact case (projectGenerator on Linux, projectGenerator.exe on Windows),
    • no lowercase variant is present alongside it,
    • the Linux binary has at least one execute bit set.
  • Bump GUI 0.122.0 -> 0.123.0 and CLI 0.127.0 -> 0.128.0 per the repo's release-version policy; frontend/npm-shrinkwrap.json root versions are updated to match.

Versions

  • GUI (frontend/package.json, frontend/npm-shrinkwrap.json): 0.123.0
  • CLI (commandLine/src/defines.h): 0.128.0
  • python3 scripts/check_release_versions.py origin/master -> `Release versions OK: GUI 0.123.0, CLI 0.128.0`

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.
@danoli3
danoli3 merged commit 97aca17 into master Nov 18, 2026
11 checks passed
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