pub fn app_bundle_of(path: &Path) -> Option<PathBuf>Expand description
The .app bundle the binary at path (or its Contents/MacOS folder)
belongs to, by the bundle layout rather than by name: the innermost
*.app whose Contents/MacOS holds path, and, for a helper app nested in
another app’s Contents/Helpers or Contents/Frameworks (srv, the CEF
helpers), the app above it. A folder that merely ends in .app around the
install is never taken for it.