Somewhat copied from: Executing Shell Scripts from the OS X Dock
The following creates a running application that doesn't need to spawn the terminal to work. Do something like the following from the command line:
mkdir -p "/Applications/$name.app/Contents/MacOS"
cat > "/Applications/$name.app/Contents/MacOS/$name" <<EOF
chmod +x "/Applications/$name.app/Contents/MacOS/$name"
This will create a clickable application that when run will execute the shell script with the same name which will run your
Notice that the
JMeter Launcher name must match the .app top directory name and the script name down in
MacOS directory precisely which is why this script stores it in a variable.
Also, if you want to change the icon, you can select the application in the Finder, get info about it, select the default icon at the top of the info window, and paste a 512×512 PNG image over it.