Repository navigation
fix(desktop): preserve the Maka Dock icon in local macOS builds - #7133
Merged
Merged
Conversation
Select the shell by the real launcher bundle layout so a loose Cargo binary cannot shadow the staged app. Generated-by: Codex
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
After #7123, starting
maka desktopfrom a local macOS build could give the app a generic executable icon and the Dock labelmaka-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.
org.apache.maka.desktoporg.apache.maka.desktopAI use
Codex implemented the path selection and regression test and verified both launches.
Checklist