Blockflow icon indicating copy to clipboard operation
Blockflow copied to clipboard

Implement automatic update

Open AnidemDex opened this issue 2 years ago • 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?

AnidemDex avatar Jul 07 '23 16:07 AnidemDex

relevant godot proposal https://github.com/godotengine/godot-proposals/issues/8451

Crystalwarrior avatar Nov 29 '23 15:11 Crystalwarrior

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.

myyk avatar Apr 23 '24 13:04 myyk

Hey, that's a very handful plugin, I'll take a look at it. Thank you :D

AnidemDex avatar May 04 '24 22:05 AnidemDex