隐藏Mac Dock 中的某个图标
以QQ为例:
打开命令行窗口,输入两条命令:
defaults write /Applications/QQ.app/Contents/Info.plist LSUIElement 1
sudo codesign -f -s - /Applications/QQ.app
逆转命令:
defaults write /Applications/QQ.app/Contents/Info LSUIElement 0