Skip to content

fix(menuinst): respect user-provided CFBundleIdentifier in macOS Info.plist#1887

Merged
wolfv merged 1 commit intoconda:mainfrom
baszalmstra:claude/fix-rattler-1886-01GkQSwHH4rKWBdGQwAKnTfv
Nov 25, 2025
Merged

fix(menuinst): respect user-provided CFBundleIdentifier in macOS Info.plist#1887
wolfv merged 1 commit intoconda:mainfrom
baszalmstra:claude/fix-rattler-1886-01GkQSwHH4rKWBdGQwAKnTfv

Conversation

@baszalmstra
Copy link
Collaborator

@baszalmstra baszalmstra commented Nov 25, 2025

The CFBundleIdentifier field was defined in the schema and could be specified in menu.json files, but the code always generated a default value using com.{slugname} instead of using the user-provided value.

This fix changes the behavior to:

  1. Use the user-provided CFBundleIdentifier from menu.json if specified
  2. Fall back to the default com.{slugname} format if not specified
  3. For AppKit launcher bundles, append -appkit-launcher to the resolved identifier

Fixes #1886

….plist

The CFBundleIdentifier field was defined in the schema and could be
specified in menu.json files, but the code always generated a default
value using `com.{slugname}` instead of using the user-provided value.

This fix changes the behavior to:
1. Use the user-provided CFBundleIdentifier from menu.json if specified
2. Fall back to the default `com.{slugname}` format if not specified
3. For AppKit launcher bundles, append `-appkit-launcher` to the
   resolved identifier

Fixes conda#1886
@baszalmstra baszalmstra requested a review from wolfv November 25, 2025 18:33
@baszalmstra
Copy link
Collaborator Author

@wolfv can you maybe verify locally on you mac if this fixes the issue?

@wolfv wolfv merged commit f02976c into conda:main Nov 25, 2025
18 checks passed
@wolfv
Copy link
Contributor

wolfv commented Nov 25, 2025

Thanks! Looks good :)

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.

CFBundleIdentifier in Info.plist for MacOS is not updated correctly

3 participants