[Help] Create "Check for Update" event
-
So far, I've kind-of mastered new scripting knowledge, and plugin rules.
Although, now I want to create a Check for Update event to certain plugin. /Me wants to learn
- Lets say I have a certain storage, such as google drive, bitbucket, or 4shared, which holds my plugins.
- Client downloads the plug, afterwards launches SU, and selects [Plugins/"my plug"/check for update] menu item event.
- I would like the plugin to compare version (or release date) between the current user plugin and the one on certain storage.
Pending, give results - If finds an update, the plugin must show a message "New update... Want to download?... [yes],[no]"
- If yes, I want the original plugin to be deleted, and the new one downloaded to original plugin path - automatic process
The question is how to compare versions, and how to replace the plugin with automatic process.
Indeed, inspired with replies, suggestions...
-
Everyone wants this functionality.
Some work has been done.
ExtendSketchUp has this goal.
Fredo6 created a web-based update checking feature. (Do a search.)
Others have done it with a UI::WebDialog
You will likely need to use the functionality in the SketchupExtension class for installed versioning.
Unfortunately.. the community has not yet agreed upon a file manifest format to track installed file locations. (So an uninstaller can remove them.)
Advertisement