I followed the directions in How to put a custom launcher in the Dock (Mavericks)How to put a custom launcher in the Dock (Mavericks) but my case has a different twist. I have an Automator application which runs a shell script that (1) changes the stack size with ulimit
and (2) runs an application. I would like to add this to the Dock. I can run it from the Launchpad and everything works correctly. It shows up in my Dock, but only as the application, not the Automator version. As a result, if I right click and enable 'Keep in Dock', then close and run again, the stack limit change of (1) is ignored. How do I put an icon in the Dock which runs the Automator application and not just the application?