ephraim / lcurse

Python script to have a "curse" compatible client for linux
The Unlicense
51 stars 23 forks source link

Add a force update action, that forces the addon to always update #41

Closed cpw closed 8 years ago

cpw commented 8 years ago

Some addons don't change version numbers. /me shakes tiny fist at The Undermine Journal

ephraim commented 8 years ago

please change your commit to just clear the version field in the addonList to None and then call self.updateAddon. I prefer this way, cause the code of updating an addon isn't doubled then. And btw. your "addon" list when saving includes the addon twice afaiks once from the append at checkforupdate and then the second append before the actual update.

cpw commented 8 years ago

I just duplicated "updateAddon" to pass none to the addon check.

ephraim commented 8 years ago

Checkout latest commit.