I have a command line executable (written in C) with some related resources, and I would like to package it as an application (inside the .app folder). I tried appify.sh
which could package shell script, but didn't work here. For this command line executable, I would like to open termial to show the STDOUT.
I also found this method using Automator , but didn't find how to package the executable and resources inside the folder. Should I write an Info.plist file? I tried but failed to get the right syntax.
update
As I tested, you cannot run the executable alone, as MacOS will run that without any pop-up window(Termial), and ignore all STDOUT.
We can use Platypus to run sh/bash with -exec executable
to do the trick as described here.