Handle open with URL on Mac

Can anyone tell me how to handle opening a URL on app launch? I have added our URL information to info.plist and clicking on a link in browser brings up our app successfully, but the URL itself does not get passed to the game instance.

This works okay on Windows, where the URL is a command line parameter, but it is unclear to me how to extract this value on the Macintosh.