Skip to content

fix(desktop): preserve the Maka Dock icon in local macOS builds - #7133

Merged
M4n5ter merged 1 commit into
rust-previewfrom
codex/fix-macos-dock-icon
Nov 21, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
codex/fix-macos-dock-icon

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 21, 2026

Copy link
Copy Markdown
Member

Summary

After #7123, starting maka desktop from a local macOS build could give the app a generic executable icon and the Dock label maka-desktop-shell. Cargo leaves a loose shell beside the launcher, so the sibling-file check also matched the development layout.

Use the existing app-bundle path check to distinguish the two layouts. A launcher inside an app runs its bundled sibling. A standalone launcher opens the shell inside the adjacent Maka.app.

Verification

Built the release CLI and ran the focused macOS regression test with both shell binaries present. Launched each layout with a separate state root and compared the running app's icon from AppKit with the bundle icon at 128 × 128 pixels.

Launcher macOS application ID Icon matched bundle Icon matched loose executable
Local release CLI org.apache.maka.desktop Yes No
CLI inside a renamed self-contained app org.apache.maka.desktop Yes No

AI use

  • Generative tooling made a substantive contribution

Codex implemented the path selection and regression test and verified both launches.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected suites pass locally
  • Behavior change described above

Select the shell by the real launcher bundle layout so a loose Cargo binary cannot shadow the staged app.

Generated-by: Codex
@M4n5ter
M4n5ter merged commit b0d5e6d into rust-preview Nov 21, 2026
1 check passed
@M4n5ter
M4n5ter deleted the codex/fix-macos-dock-icon branch November 21, 2026 14:12
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