MacOs - How to move a binary from .app and run it

26 views Asked by At

We have a huge project.

Until today we didn't use an .app but now we must in order to use Endpoint security and other stuff.

Until today our binary sat in /opt/XYZ/binary.bin

Now because of the .app, looks like it will have to be /opt/XYZ/Cool.app/Content/MacOs/binary.bin

This change really breaks our code and will cause a massive code change.

If I extract the binary from the app and place it in /opt/XYZ/binary.bin and run it, the process is killed.

Is there a way to extract it from the app and run it from /opt/XYZ ? any tool, command, resource, etc' will be great.

0

There are 0 answers