Re: Package Installation: Non-Standard X11 Path
Re: Package Installation: Non-Standard X11 Path
- Subject: Re: Package Installation: Non-Standard X11 Path
- From: Ben Byer <email@hidden>
- Date: Wed, 05 Dec 2007 22:54:04 -0800
On Dec 4, 2007, at 2:48 PM, Nathaniel Gray wrote:
You should *never* hardwire the path to an app bundle! You can always
find the path at runtime using CFBundle or NSBundle functions.
There's no way (I think) to get the installer to do the right thing,
but that doesn't mean it's OK to let the app do the wrong thing.
Noted, but in this case the problem is that we have to write the exact
path to the app bundle into the launchd plist. I guess a better way
would be to have the postinstall script edit (or create) that plist
once it knew the path.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden