Implement automatic update
AnidemDex opened this issue · 3 comments
Proposed by Fantos.
Sounds complex, is complex.
This requires to check the repo and compare versions to make toast notification in editor (easy).
If automatic download is also needed, the plugin must be disabled, and a helper must remove the old plugin and/or update files according update. (hard)
I think would be easy to do if we used git directly?
relevant godot proposal godotengine/godot-proposals#8451
Hi there, I have also found this difficult to do with my plugin in Godot. I just released a plugin to do that in mine.
I made a plugin-plugin that can add plugin updates to your plugin. Check it out: https://github.com/myyk/godot-plugin-updater
It might not be everything you wanted, but it likely is about 80% of what you want.
Edit: Sorry, I took a look at your project more closely and realized that your project isn't installed as a plugin of the project under addons
which is something godot-plugin-updater
assumes, so it would need some work if it were to support your usecase. Let me know if you're interest and I may support updating a project structured like this for you.
Hey, that's a very handful plugin, I'll take a look at it. Thank you :D