μUpdate-JS

Make your Shortcuts Self-Updating with Only 9’Actions


Description

Still trying to predict which Updater your users already have?

Sick of trying to persuade them to download Y.A.U. (Yet Another Updater?)

If you’re like me, adding a score or more actions to your clean Shortcut just to check for updates feels ... ugh.

Embed this 9 Action Snippet to make any Shortcut self-updating. Running at the speed of RoutubeHub’s API, nothing should get between your users and your slick new updates.

This bare bones code provides a UX that is surprisingly attractive and functionally complete, with no unnecessary information to distract users from what’s important:

1 Theres an update 2. See what’s in it. 3. Click here to get it.

Version strings can be anything you like, in any ‘order’ that you prefer. The current RH version will always be presented as an “Update” to any other version.

The snippet is a functional shortcut which takes 3 dictionary value parameters via “Shortcut Input”. Once embedded into your own code, connect these three parameters to your Shortcut’s values. (ID, Version, & Name.)

When I download a new Shortcut built to use an Updater I don’t want. I often “fix” it to call my own copy of μUpdate, passing in the dictionary as usual. But please don’t direct users to download μUpdate for that purpose


Latest Release Notes

2.0 - Oct. 16, 2020, 12:52 a.m.

Completely rewritten for significant speed increases. Replaced update check method with JavaScript and switched from “Get Contents” to “Get File of Type”


Version history