add url types support for macosx

BTW: it only works when seafile-client is bult as an app bundle