terminal中执行
sqlite3 $(find /private/var/folders \( -name com.apple.dock.launchpad -a -user $USER \) 2> /dev/null)/db/db "DELETE FROM apps WHERE title='Visual Studio Code';" && killall Dock
Ps: 以Visual Studio Code
为例
链接: https://www.zhihu.com/question/419492859/answer/2470464778