very smol updater is the smallest & simplest embeddable RoutineHub-based updater of all, coming in at roughly 4 actions (but only if you also count “End If” as an action). also, because of the way it’s built, it will automatically update itself, without you having to do anything. it even looks cool!
$\sf \large {table~of~contents}$
iPad screenshot made with @gluebyte’s Screenshot Framer
if you’re creating a new Shortcut with the intention of publishing it, I recommend duplicating the following template Shortcut and using that as a start point (copy-pasting its actions unfortunately causes problems with variables): **https://routinehub.co/shortcut/17241/**
however, if you don’t feel like doing that, or you want to add VSU to a Shortcut you’ve already built, you can manually add the actions to your project. here’s how! (again, copy-pasting actions from the template Shortcut will not work, as this causes problems with the Shortcut’s Magic Variables.)
add a “Get Contents of URL” action, and insert the following string in the following format into the URL field:
https://verysmolupdater.francescoro.si/`{SHORTCUT ROUTINEHUB ID GOES HERE}/
{SHORTCUT VERSION NUMBER GOES HERE}`
so, for example, if you had a Shortcut on RoutineHub with the ID 1234, and its current version was 1.0.0, you’d have to input https://verysmolupdater.francescoro.si/1234/1.0.0
into the URL field.
add an “If” action, then remove the “Otherwise” action. the If action’s “Input” field should auto-populate with “Contents of URL”; tap on that, then change the type of the variable from “File” to “Text”.
then, tap on the “Condition” field and set it to “has any value”.