Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to register an application to a uri scheme in Mac OS X

Mac OS Applications can register for custom uri schemes through their Info.plist file by specifying CFBundleURLTypes. In order to add another uri scheme the Application bundle needs to be modified.

The question is: how do I add an additional uri scheme for an already installed application, without changing the Application itself. Bonus points if this can be done from the command line.

like image 950
user1395626 Avatar asked Sep 02 '25 16:09

user1395626


1 Answers

I personally use RCDefaultApp preference pane, which is free. I think it manages these CFBundleURLTypes (and more) for you.

It's point and click. I'd like to hear about a command-line option, too.

like image 191
Bertrand Lupart Avatar answered Sep 05 '25 08:09

Bertrand Lupart