Skip to content

Instantly share code, notes, and snippets.

@ddribin
Created February 28, 2009 18:30
Show Gist options
  • Save ddribin/72045 to your computer and use it in GitHub Desktop.
Save ddribin/72045 to your computer and use it in GitHub Desktop.
/* NOTE: The recommended location for flat-file helper binaries is in .../Contents/MacOS. We cannot put the helper there because there is a bug in LaunchServices which can result in the wrong main executable being recorded in the LS database. Subsequent attempts to open the bundled application with LS result in the wrong binary being executed. This happens when
- the helper is in .../Contents/MacOS/
- the helper is executed before the application bundle has been registered with LS
- the helper opens the main application bundle using LS
rdar://problem/5562575
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment