📜  为什么我的应用程序没有进入聚光灯搜索 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:24.488000             🧑  作者: Mango

代码示例1
Turn off spotlight:
sudo mdutil -a -i off
Unload it:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Load It:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Turn on spotlight again:
sudo mdutil -a -i on