https://www.daimadog.com/5335.html
mac
https://blog.csdn.net/weixin_34101784/article/details/89752872
http://cocoa.venj.me/blog/custom-url-scheme-on-mac-and-ios/
mac麻烦一些
https://superuser.com/questions/548119/how-do-i-configure-custom-url-handlers-on-os-x
这里提到了很多办法
或许可以只注入协议到chrome浏览器,也可以使用桥接app来关联任意的程序
https://www.google.com/search?safe=active&sxsrf=ACYBGNT4HhNAgZJdNPEB6XJydeY-23nhDA%3A1574986994861&source=hp&ei=8mTgXdLSMpGD0wSl7Iu4Ag&q=mac+register+url+scheme&oq=mac+registe+url&gs_l=mobile-gws-wiz-hp.1.0.0i13i30j0i8i13i30.6173.16806..19703…1.0..0.254.1779.0j2j6……0….1…….8..35i362i39j0j0i12j0i203j0i30j0i19j0i13i30i19j33i160.Hlgxoew9enQ