Skip to content

chore(apple): rename the macOS app bundle from Pilot.app to Cockpit.app - #247

Merged
joeblau merged 1 commit into
mainfrom
chore/rename-pilot-app-to-cockpit
Aug 28, 2026
Merged

chore(apple): rename the macOS app bundle from Pilot.app to Cockpit.app#247
joeblau merged 1 commit into
mainfrom
chore/rename-pilot-app-to-cockpit

Conversation

@joeblau

@joeblau joeblau commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Set productName/PRODUCT_NAME: Cockpit on the Pilot target so the built bundle is Cockpit.app with executable Cockpit; PRODUCT_MODULE_NAME stays Pilot so the Swift module, target, scheme, sources, tests, bundle ID, and Application Support/Pilot data directory are untouched.
  • CEF locates helpers as <main executable> Helper.app, and the helper names are locked in cef-artifacts.json (byte-compared against the published immutable runtime, so renaming them means a new ChromiumKit release). ChromiumKit now passes the manifest's base helper to CEF explicitly via browser_subprocess_path, with an early error if it is missing. Documented in docs/chromium-browser.md.
  • Updated every script, workflow, and doc path that named Pilot.app (capture-pilot.sh, install-pilot-chromium.sh default destination now /Applications/Cockpit.app, validate-chromium-archive.sh, ci.yml, apple-release.yml, chromiumkit-bootstrap.yml, package.json cockpit script, ChromiumKit README).

Verification

  • Chromium configuration ChromiumRealEngineSmokeTests (asserts renderer and GPU helpers launch) — passed, hosted by Cockpit.app.
  • Debug build of the Pilot scheme — produces Cockpit.app with CFBundleExecutable = Cockpit.
  • bin/check-docs.sh — passed.

Note

Sparkle updates from an installed Pilot.app will deliver a Cockpit.app bundle; worth confirming the in-place rename behavior before the next release.

🤖 Generated with Claude Code

Set productName/PRODUCT_NAME to Cockpit on the Pilot target so the built
bundle and executable are Cockpit.app / Cockpit, matching the marketing
name already used in Info.plist. PRODUCT_MODULE_NAME stays Pilot so the
Swift module, target, scheme, sources, tests, bundle identifier, and the
Application Support/Pilot data directory are unchanged.

CEF resolves helpers as "<main executable> Helper.app", so the executable
rename would have broken the embedded browser. The helper names are locked
in cef-artifacts.json (byte-compared against the published immutable
runtime), so instead of renaming them ChromiumKit now passes the manifest's
base helper to CEF explicitly via browser_subprocess_path and fails early
with a clear error if it is missing.

Update every script, workflow, and doc path that named Pilot.app, and the
capture script's process/window name.

Verified: Chromium-configuration ChromiumRealEngineSmokeTests (renderer and
GPU helpers launch under Cockpit.app), a Debug build of the Pilot scheme,
and bin/check-docs.sh.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@joeblau
joeblau force-pushed the chore/rename-pilot-app-to-cockpit branch from c422c04 to 9204519 Compare August 28, 2026 16:14
@joeblau
joeblau merged commit f7f2ffe into main Aug 28, 2026
7 checks passed
@joeblau
joeblau deleted the chore/rename-pilot-app-to-cockpit branch August 28, 2026 16:35
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