
运行 OnyX.

Open the Automation panel or open the Maintenance panel and select the Rebuild tab...

Check the "LaunchServices" case and uncheck the other cases.

Click the Execute button.
如果 Finder 右键菜单的 "打开方式" 显示的程序列表有两个相同项或没有安装的项, 这时应该重建启动服务的数据库.
运行 OnyX.
Open the Automation panel or open the Maintenance panel and select the Rebuild tab...
Check the "LaunchServices" case and uncheck the other cases.
Click the Execute button.