Comments (3)
Ideally it should show all the items, didnt knew how to do that though as that setup gave a Tuple error.
from blender-addon-updater.
Yup, your last approach is an appropriate way to get days in that tooltip (for days at least). One thing to know is that when an operator registers, it only evaluates that description at the moment of registration (ie even if you showed the user preferences options to change the interval, the text wouldn't be updated as the user changed it).
For this reason, I'll not update the master repository because updating the text this way would conflict with the primary UI which does have the interval options. I am actually going to recommend developers using the updater to simply directly modify the property text explicitly by putting in the interval of weeks/days, as I have done here. It's a little hard to fully accommodate all possible setups of the updater, so I'd rather let the individual developer do the minor relevant modifications, rather than trying to incorporate a lot fo extra code to work around these sorts of things.
As a reminder, the addon_updater.py
file should never need to be modified, but the addon_updater_ops.py
should be modified as needed, with this condensed UI as just an example of what's possible.
Going to keep this issue open so that others can see how you coded the example, thanks for putting it together.
from blender-addon-updater.
oke, i understand. Its a bit of an hack indeed. I will keep i guess for the users of this addon
from blender-addon-updater.
Related Issues (20)
- GitHub API shouldn't be trusted for tags order HOT 2
- reload_addon in 2.8x HOT 7
- Failures to delete directories HOT 2
- Ignore, i'll look for a delete button HOT 8
- Blender 2.93a - ValueError: Enable must be a boolean value HOT 7
- Can't find __init__ file HOT 2
- No module named 'blender-addon-updater-1' HOT 3
- Name error HOT 4
- Handle missing file access permissions more gracefully? HOT 1
- Disabled SSL context HOT 2
- Updater fails to remove staging directory because zip file is used by process HOT 2
- Update HOT 1
- Updater does not show option to choose version/branch HOT 5
- HTTP error HOT 2
- Signed Releases HOT 5
- Typos in theduckcow.com tutorial
- Option to enable pre-releases in the preferences HOT 3
- auto check wont check HOT 7
- Some PCs are having problems updating addon HOT 7
- Error in the code for Preference Panel HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blender-addon-updater.