I've noticed another strange thing about py2app
During startup of a PyGUI application, I'm using
NSBundle.mainBundle(). This works fine when running
with pythonw, but under py2app it returns None.
I'm calling it after creating my NSApplication
instance, but before calling its run() method.
Is this too soon? If so, what do I have to wait
for before calling it?
This is not a serious problem now, because the
only reason I need it is so that I can hack it
to change the title of the application menu
when running with pythonw (otherwise it's
always called "python" :-( ). This isn't
necessary with a py2app app, since it has its
own bundle with the application name correctly
But all the same, I'd like to know why
NSBundle.mainBundle() isn't working.
Also, does anyone know of a less hacky way of
changing the application menu title?
Get latest updates about Open Source Projects, Conferences and News.