Yes!  I missed that difference in the plists.

This makes some sense because while experimenting, I noticed that
  open NAME.app/
resulted in two icons whereas 
  open NAME.app/MacOS/main
resulted in just one icon.

Confirmed that:
 * changing the plist as mike describes fixes the problem
 * the latest trunk outputs the correct plist (though LSBackgroundOnly still 
needs to be made False).





> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Martin Zibricky
> Sent: Sunday, May 15, 2011 6:56 AM
> To: [email protected]
> Subject: Re: 回覆:RE: [PyInstaller] OS X dock icon
> 
> Hi Mike,
> 
> thanks for your investigation.
> 
> I tried to update pyinstaller to add string 'MacOS/' to the
> CFBundleExecutable.
> 
> Could you please try the latest (r1406) svn version if it works for you
> as expected?
> 
> Could please anyone else from mac users try the latest version and
> report if it fixed the OS X dock icon issue?
> 
> Thanks in advance.
> 
> mike píše v Ne 15. 05. 2011 v 01:51 -0700:
> > Then I stumbled on this thread, and looking at the Info.plist file
> > that Matthias posted, I noticed a difference between what he posted,
> > and what's being generated by PyInstaller.  Specifically, PyInstaller
> > generates <key>CFBundleExecutable</key>
> >
> > <string>NAME</string>
> >
> >
> >
> > while Matthias' version is <key>CFBundleExecutable</key>
> > <string>MacOS/NAME</string>
> >
> >
> >
> > I changed my version to be the same as Matthias', and it solved the
> > issue.  Removing "MacOS/" brought the issue back.
> 
> --
> You received this message because you are subscribed to the Google
> Groups "PyInstaller" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/pyinstaller?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to