I'm writing the installation code of my modulair web application and I stumbled on writing the update code for the plugins.
The problem I am having is: how do you know if the plugin is already installed? Developers can give their plugin a very basic name like: "News". There will probably be more plugins with that name and now the system think it's the same plugin and will overwrite it.
What can I provide to the plugin to make it unique when installing and knowing it's a update when a user provides a new installation package?
The idea is that there is only an installation service, not an install and update. The system should be able to know if it's a new installation or a update.
Aucun commentaire:
Enregistrer un commentaire