On 15/01/2003 at 00:32 -0800, Rich Morin wrote:
I'm building a multi-program application, using C, ObjC, Perl, YAML, etc.
I think I know where some of my files should go, but others mystify me.
These seem pretty clear:

  application		   /Applications/Utilities/Foo.app
  contextual menu plugin   /Library/Contextual Menu Plugins/Foo.plugin
  wrapper script	   /usr/local/bin/foo

These do not:

  configuration files	   /usr/local/etc (if there was one :-)
  daemon scripts	   /usr/local/lib (if there was one :-)
  helper scripts	   /usr/local/lib (if there was one :-)
I'm not entirely sure about this, but I'd suggest (based purely on where I'd go looking for them, were I to want to frob with the application)

config: ~/Library/Preferences/
daemon: /Library/StartupItems/
helper: in the Foo.app bundle

Note that StartupItems are global, and for per-user items you'll need to figure out how to use LoginItems instead, but it doesn't seem to have a folder in ~/Library/ on my machine.

--
:: paul
:: we're like crystal

Reply via email to