Re: icon in Dock
Re: icon in Dock
- Subject: Re: icon in Dock
- From: Ralph Alvy <email@hidden>
- Date: Fri, 13 Dec 2013 07:20:31 -0800
Make sure emmett is listed in Additional Resources in the Scripts tab of
your package. Then use this script and see if that works, chaging
'foo.app' accordingly:
#!/bin/sh
./emmett add /Applications/foo.app
On 12 Dec 2013, at 18:00, Oakman wrote:
Hello,
Before I begin I should say, I am a certifiable newbie at creating
installer packages.
Some background: My manager dropped this project in my lap, being the
only Mac user in the organization and I have no real choice in the
matter.
We have an application that could be a drag & drop install, but will
be installed using Installer.app. Only reason being the manager wants
the app's icon in the Dock.
Problem is I am not a programmer and only have some basic knowledge of
applescripting and even less of shell scripting.
To create a .mpkg I used Packages and am trying to use emmett to put
the icon in the Dock by using a postinsall.sh to do the lifting.
Nothing I have tried so far has worked. From Terminal I use
'path/to/emmett add /Applications/foo.app'
which works a treat. If I use the same code in the postinstall.sh it
fails.
Please, can one of you folks point me in the right direction?
Thanks for your help.
/Oak
_______________________________________________
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
_______________________________________________
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