TamableFoxes icon indicating copy to clipboard operation
TamableFoxes copied to clipboard

[Feature] Implement auto updating

Open SeanOMik opened this issue 4 years ago • 4 comments

Describe your feature request. Implement auto-updating for Tamable Foxes. There's an API that should make this easy, it's called AutoUpdaterAPI.

I think it would make it easy for users to update their plugin, but I wonder if it would cause issues when updating.

SeanOMik avatar Jul 19 '21 03:07 SeanOMik

In order to prevent issues you should first download the new update to the plugin folder, check if the jar is valid and the version is actually above the current one, and only then replace the actual plugin file

itsfolf avatar Jul 21 '21 01:07 itsfolf

We would also have to update onLoad before the fox entity is replaced.

I think I'll make a branch and try to get something working, idk how I would test it though.

SeanOMik avatar Jul 21 '21 15:07 SeanOMik

We would also have to update onLoad before the fox entity is replaced.

I think I'll make a branch and try to get something working, idk how I would test it though.

no need for that, just replace the jar at any time and it will be there ready for the next restart

itsfolf avatar Jul 24 '21 04:07 itsfolf

no need for that, just replace the jar at any time and it will be there ready for the next restart

Oh yeah, that's a much simpler approach.

SeanOMik avatar Jul 24 '21 04:07 SeanOMik