I am trying to use Platypus to wrap a bash script to open a file in emacs using emacsclient.
The script that I am using looks like:
/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n -c "$@"
When I associate a file (using it to open org-mode files from DevonThink) to the new Platypus created app, emacs fires right up, but it opens the scratch buffer rather than a buffer with the file contents.
The above script does work when invoked from the command line.
Does anyone have any ideas?