TGTGInsighttelegram intelligenceLIVE / telegram public index
Post content
帖子内容
有资料指出,macOS (iOS 其实也是) 的 url scheme 注册在 /Applications/some.app/Contents/Info.plist 下,可以通过删除不需要的 App 的 CFBundleURLTypes 键来阻止这一点。 然而,这招似乎对 Swift 版 Telegram 客户端无效,晚点再研究一下。 可以以下命令来强制清空或重载文件关联: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -seed 什么参数都不加会默认输出帮助,如果加了多个参数,似乎会依次按顺序执行,等价于执行多次命令,每次带一个参数。