sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Help] Create "Check for Update" event

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 88 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      Anton_S
      last edited by

      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... πŸ˜„

      1 Reply Last reply Reply Quote 0
      • Dan RathbunD Offline
        Dan Rathbun
        last edited by

        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.)

        I'm not here much anymore.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement