On 30/04/2012 22:00, Phillip Pollard wrote:
> Thanks! Setting the icon for the app bundle works great.
> What I had noticed is the quoted code worked on the windows side to
> change the icon when running live (IE: not packaged as an app.) in the
> Citrus Perl interpreter. But not it does not for Osx. I wonder if there
> is a missing resource or such.
No. OSX always takes the icon from the application - which in this case
is Perl which has none. (isn't packaged as an 'app').
Packing a Perl interpreter as an app would be quite trivial.
you need a directory structure to drop a copy of the existing Perl exec
Look at the Info.plist file for any Citrus packed app - and make a copy
changing the obvious paths
Then if you call Perl as
you should get appicon.icns as your application icon.
This is also one of the reasons I added the capability to 'wrap' a
script to Citrus.
After wrapping, you can always edit the wrapped script which will be in