I tested the update in localhost using XAMPP and everything works well, but unfortunately when I test on a live site I get a weird situation that doesn't allow me to update the plugin.
Essentially, I can see the update notification in the panel, when I update the plugin seems that everything was done correctly but for some reason in the
plugins folder I get this:
As you can see the plugin folder has been replaced with a temporary one, within
get-IO5hpY there are the updated plugins file. So here the question:
Why wordpress replace my plugin folder name which is