I'm trying to register a custom protocol to an application on the Mac, i.e:
- User clicks on link with "abcdef://some/url/here"
- An installed application is launched with the above string passed as the first param
I've done this successfully on Windows using the information from this question:
how do I create my own URL protocol? (e.g. so://...)
I would prefer to find something that is browser-independent, in other words at the OS level. I would also like to automate this registration through a shell script, so hopefully there is a way to do this that doesn't involve the GUI.
Thanks!