Which executable to run from /Contents/MacOS?

How does MacOS determine which executable to run from within the /Contents/MacOS folder inside an /Applications/application.app ?


I am trying to distribute the application jalview within my organisation (using Munki).


When the application is installed directly by dragging from the dmg it runs the correct executable when the icon is clicked.


(/Applications/Jalview.app/Contents/MacOS/jalview)


but when I package the application via Munki or convert it into an installation package the result always runs the wrong executable when the icon is clicked.


(/Applications/Jalview.app/Contents/MacOS/JavaApplicationStub)


I'm guessing there must be away to fix which executable should be run?

Posted on Dec 5, 2022 7:31 AM

Reply

Similar questions

4 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Which executable to run from /Contents/MacOS?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.