Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a mechanism for getting the Bundle ID from a locally installed Application in bundle-id-lookup.sh #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Soliez
Copy link

@Soliez Soliez commented Oct 1, 2024

Function for getting the Bundle ID from a local Application using mdfind (spotlight) and defaults

It checks to see if an app is in installed locally and extracts the bundle ID from it's Info.plist if it does.

The Bundle ID of an app can be found in its Info.plist file in a key named CFBundleIdentifier

  • On MacOS, this file will be found in the Contents directory inside the Bundle (.app) directory
  • On iOS, this file will be inside in the Bundle (.app) directory

Related:

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