This leaves a torn panel. Points to the old directory. Easy to fix in KDE, but a bitch in a gnome.
How do you upgrade to a new version of WebStorm without breaking your launcher?
Update: this is for Ubuntu Gnome 16.04 ...
Ok I understood. Here's how to fix it. In the terminal, go to /usr/share/applications
cd /usr/share/applications
Delete old launcher ...
sudo rm jetbrains-webstorm.desktop
Change to the directory where webstorm.sh installed. In my case, this is /opt/WebStorm-162.1121.31/bin . Run it as superuser ...
sudo ./webstorm.sh
In the splash screen, select "Customize | Create desktop entry" in the menu in the lower right corner. Since you started it as sudo , just accept the superuser warning and you will have a new launcher. Close WebStorm, close the terminal, and now you can start WebStorm from the application menu.
source share