How do I launch a bash script from Finder in OS X?
I'm OK working at the CLI, but my little script is not so loved by my GUI-bound colleagues.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
I've just released
bashapp via github, which compiles a bash script into a binary program (C source) and creates the directory structure necessary to make it clickable in Finder. Here's the README:
I needed this to build a few service launch scripts that could be clicked on in Finder, as opposed to asking users to open a Terminal. It also provides simple script obfuscation via encryption, which can be handy if you need to distribute the program.
If you wanted to add icons, you can do so by adding the
Info.plist file, and the
.icns file to the