Mattia, thanks for your reply.
>As for the name, you could just copy the 'wxPerl' executable inside
>the bundle and rename it however you like. Yes, this is all handwaving...
By the way, wxperl is not needed once you create an .app bundle, so I
can just use perl. It's not as easy as that, unfortunately. Mac OS X
sets "/" as current working directory.
I am thinking of how to deploy wxperl apps under Mac OS X in general,
as I didn't get PAR to run on Mac OS X yet. My current idea looks
- Create a simple C application in Xcode (Apple's development
environment). This lets me set the icon and title easily, even for
- Link a perl interpreter into this C app that executes my main perl file.
- In the .app bundle, include my libs and the system libs needed
- "Somehow" get my executable to use the wx dynamic library that is
"somewhere" in the bundle.
Just thought I'd post this for discussion. Maybe someone can come up
with an easier way?
The C app could be rather generic, so it wold be easy to generate your
own app with custom icon and title.
crenz@... - http://www.web42.com/crenz/ - http://www.web42.com/
"So, who am I to disagree with God? :-)" -- Larry Wall