Re: Dock manipulation Re: how to get a return value from a shell script?
Re: Dock manipulation Re: how to get a return value from a shell script?
- Subject: Re: Dock manipulation Re: how to get a return value from a shell script?
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 12 Oct 2006 08:32:05 +0200
On jeudi, octobre 12, 2006, at 02:16 AM, Bill Coderre wrote:
On Oct 11, 2006, at 3:46 PM, Ben Zhu wrote:
I like my installer to create a link of my installed app onto the
dock.
Can I run a script for this or is there any way to do this?
There's nothing built in to the Apple Installer to do this, and no
published, documented way to do it, either. Some Apple installers add
items to the Dock, but the method they use is not guaranteed to work
correctly, and is rather tricky. It also has undesirable side effects
(it quits Dock.app, which causes loss of Dashboard state).
From what I see in some code doing this, the tricky part can be removed
by writing a tool to change the Dock settings with the CFPreferences
API.
Yet it does not remove the quit or kill Dock.app part (but who cares
about Dashboard?).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden