I wanted to download a video game through steam on my Mac, but I decided to uninstall it later. I tried uninstall it from steam, however I noticed the app icon still remains on my launchpad. So I write this blog to remind me of how to delete the app icon in launchpad.
1.Open a folder, and press command+shift+G, then enter /private/var/folders, find out /private/var/folders.
2.Open com.apple.dock.launchpad, find db file, get the location info which stars from "private".
3.Open the terminal, cd to the location info we got above. Then type __sqlite3 db "delete from apps where title='YOUR_APP_NAME';"&&killall Dock___.
4.Then the screen should flash and the icon gonna be deleted.