I have multiple Cursor application icons in my Mac Dock. I think this happens when I do an upgrade, but I am unsure of how to debug this. What is particularly problematic is that when I pin the application in the Dock, then it will eventually stop using the pinned app, but show open windows (little dot under the app icon) for the non-pinned version of the application.
In the screenshot below, I opened Cursor through the terminal by running /usr/local/bin/cursor .
Then it opened the unpinned version of the Cursor app.
What is going on here? How can I debug this?