defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
killAll Dock
网上真是抄来抄去。。。连符号错误都抄。。
本文介绍了一种在Mac OS上通过defaultswrite命令为Dock栏添加最近使用的应用程序快捷方式的方法,并给出了具体的实现代码。此外还提供了一个修正后的killAllDock命令以确保更改生效。
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
772

被折叠的 条评论
为什么被折叠?