[chirp_devel] [PATCH] Fix app launching on OS X #4479
Tim Smith
Thu Feb 9 08:30:09 PST 2017
On Thu, Feb 9, 2017 at 7:01 AM, Dan Smith via chirp_devel
<chirp_devel at intrepid.danplanet.com> wrote:
> Sweet, thanks! However, is there any reason to just not modify it ever?
> I'm not sure what I was thinking when I wrote that. It might've been
> part of some debugging or something.
I'm pretty sure the motivation is that OS X is using argv[0] of the
Python framework as the name to display in the menu bar. Without the
symlink, the app has a "Python" menu with items like "About Python"
(instead of "CHIRP" and "About CHIRP").
An alternative is to try and use some undocumented APIs to reset the
process name post-launch:
https://stackoverflow.com/questions/14122330/programatically-setting-the-mac-menubar-title
I'm not sure how this is "supposed" to work.
Tim
More information about the chirp_devel
mailing list