Meet Me

My username is SadFarm1, and I am a young aspiring programmer that currently codes in Html, CSS, and Javascript. You can contact me at u/SadFarm1 on reddit. You can see some of my works on ShareShortcuts or RoutineHub.

Also, make sure to download iTweak, which I made in collaboration with JonathanSetzer! iTweak allows you to tweak, customize, jailbreak, install tweaked apps, watch free Movies that cost money anywhere else, use cydia alternatives, use ssh, power options, and more. It has been rated by people and youtube channels.

“THE ULTIMATE SIRI SHORTCUT TO CUSTOMIZE YOUR IPHONE / FEATURED FILLED SIRI SHORTCUT 2019!” - All I Talk Is Tech

“The best Siri shortcut?”- IOS Tech Help

” A really cool shortcut”, “It’s pretty insane”, - iDeviceMovies

“Awesome Siri Shortcut you’ll want to Download”,”Must Download”- IDeviceHelp

“INSANE TWEAKED SHORTCUT”- TechSavagePro

” iTweak has over 40 crazy tweaks for your iPhone device!”- unpredictable

“THE BEST SIRI SHORTCUT FOR TWEAKED APPS! NO JAILBREAK!”- All Things Apple Plus

I am Proud to Say that UpdateBot is the FIRST Updater for iOS 13!

And now I present UpdateBot!

What is UpdateBot?

UpdateBot is a shortcut from the popular iOS app, Shortcuts. This shortcut ensures that your shortcuts are always up-to-date with all the hard work and time you put into your shortcuts. This shortcut works fluently with any shortcut, does not cause any delay in the speed that you deserve. This shortcut will “drop-in” on your shortcuts, and check for updates. No advanced programming required.

Why UpdateBot?

UpdateBot will seamlessly work with your shortcut unlike many other “drop-in” updaters. The unique part about UpdateBot is that UpdateBot will work for both RoutineHub and Shareshortcuts. No longer do you have to use the default Shareshortcut updater. This would be beneficial if you wanted to push out an update on Shareshortcuts, but make it also update in RoutineHub.


iOS 13 Instructions Above Banners


Getting Started with UpdateBot

You can download the latest version of UpdateBot from here. After you have downloaded this shortcut, you just need to add a small bit of info to the end/beginning of your shortcut. This updater will “drop-in” and check for updates. It will always check for updates where =ever you put it. If you put it at the beginning of your shortcut, there may be a small delay so that it can check for updates. The same thing goes for the end of the shortcut. You could also ask the user of your shortcut to manually check for shortcuts. In that case, you could add UpdateBot there. More about adding UpdateBot to your shortcut below.

UpdateBot Responses

These are possible resposes you might get from UpdateBot.

-Up To Date: The user has the latest version of your shortcut -Update: The user has an older version of your shortcut and needs to update -Disconnected: The user was not connected to an internet connection

Ways to Use

There are three ways that you can use UpdateBot.

  1. Using RoutineHub
  2. Using Shareshortcuts
  3. Using your own private server

Adding UpdateBot to Your Shortcut Using Your Own Server

Adding UpdateBot to your shortcut is very simple. All you need to do is define 3-4 variables in Dictionary. (Depends on wheather you include a ChangeLog or not.

You can include the call to UpdateBot anywhere in your shortcut, but it is recommended that you only call it at the end of your shortcut. I personally only call UpdateBot at the end of my shortcuts. This is only so that there is no chance that the itegrity of your shortcut will be disturbed. This is only a safety precaution.

The ideal way to update your shortcut is shown below. The most ideal way indludes a Get Shortcuts command to get a list of all of the users shortcuts. You should then use an If Contains statement to check if the user has UpdateBot downloaded. If then do not, add an otherwise attribute that links to the download page of UpdateBot.

Make sure to disable Show While Running on the Run Shortcut command to make the whole thing appear simultaneous.

Shortcut Name: The name of your shortcut (case sensitive) Update URL: The Update URL of your shortcut (discussed below) Release Notes: The ChangeLog of your shortcut (discussed below) Current Version: The Current Version of your shortcut

THE DICTIONARY VALUES ARE CASE SENSITIVE. PLEASE USE THE SAME CAPITALIZATION AS IN THE PICTURE BELOW.

The Ideal usage of UpdateBot is shown below:

Setting up Your Webserver

If you are making your shortcut update off of your own webserver, you will need to host 2 files online. You can skip this part if you are hosting your shortcut on RoutineHub or ShareShortcuts. RoutineHub and ShareShortcuts will generate and store these files automatically for you.

First, you will need to host a Update file. This file must contain JSON. All etensions would be able to work, but I find .json extensions the easiest. This file will tell UpdateBot about the Latest Version of your shortcut and will provide it with a link to update your shortcut. This file must contain the following:

Current Version: This key will contain the current numerical version of your shortcut.

URL: This key will contain the iCloud URL of your latest version.

Example Update JSON File:

{“Version”:”2.0”, “URL”:”http://icloud.com/shortcuts/ad47fce5955e4cd1b6a2259dfd54eb60”}

The second file you will need, is the Release Notes File. This is the same thing as the “ChangeLog” This file can be in any format as you like. This could be a page that you designed or even a youtube video explaining your changes. When the user wants to see the changelog, they will be brought to the page you specified.


Adding UpdateBot to Your Shortcut Using RoutineHub

RoutineHub is an online collection of shortcuts made by other people. UpdateBot provides a way for shortcuts to be updated without the hassle of maintaining your own webserver. Integrating RioutineHub into your shortcut is very easy. All you need is a RoutineHub ID and an optional changelog.

You will first need your RoutineHub ID. There are 2 ways to find your RoutineHub ID.

  1. When you submit a shortcut to RoutineHub, you will see 2 butons at the bottom of the page. Create and Add Version and Contine With RoutinePub Click on Continue WIth RoutinePub and it will display your RoutineHub ID. Insert this ID into your shortcut as shown in the picture below.

  2. The other way to find your RoutineHub ID would be from your shortcut listing. When looking at the RoutineHub download page, your RoutineHub ID should be in the URL. For example: https://routinehub.co/shortcut/000. If this was the URL of your RoutineHub page, your RoutineHub ID would be 000.

The next thing you may want is the ChangeLog. This is Optonal. RoutineHub makes auto-generated changelogs for you. If you do not want your own changelog, skip this part.

If you want a changelog, you will need a website of any sort that shows your latest updates. This could be anything from a Twitter Account to a Youtube Channel. Include this link as shown in the picture below.

All of this info has to be inside of a dictionary action. You can include the call to UpdateBot anywhere in your shortcut, but it is recommended that you only call it at the end of your shortcut. I personally only call UpdateBot at the end of my shortcuts. This is only so that there is no chance that the itegrity of your shortcut will be disturbed. This is only a safety precaution.

The ideal way to update your shortcut is shown below. The most ideal way indludes a Get Shortcuts command to get a list of all of the users shortcuts. You should then use an If Contains statement to check if the user has UpdateBot downloaded. If then do not, add an otherwise attribute that links to the download page of UpdateBot.

Make sure to disable Show While Running on the Run Shortcut command to make the whole thing appear simultaneous.

Shortcut Name: The name of your shortcut (case sensitive)

RoutineHub ID: The RoutineHub ID of your shortcut (discussed above)

Release Notes: The ChangeLog of your shortcut (discussed above)(optional)

Current Version: The Current Version of your shortcut

THE DICTIONARY VALUES ARE CASE SENSITIVE. PLEASE USE THE SAME CAPITALIZATION AS IN THE PICTURE BELOW.

The Ideal usage of UpdateBot is shown below:

ChangeLog is Optional (Discussed Above)


Adding UpdateBot to your Shortcut using Shareshortcuts

Shareshortcuts Is aommunity and large database of Apple Siri Shortcuts. This database is just like RoutineHub. Shareshortcuts also allows you to get your shortcuts updated without having to host your own webserver. All you need to get is a Shareshortcuts ID and an optional changelog.

You will first need your Shareshortcuts ID. This can be found in the URL of your shortcut. Example:

https://shareshortcuts.com/shortcuts/000-Example-Shortcut.html

In this case, 000 would be your Shareshortcuts ID.

The next thing that you may want is the ChangeLog. This is just a page that keeps track of all the changes you make to your shortcut. This is optional, but Shareshortcuts does not make a dedicated changelog page. If you would like to keep the default, skip this next part.

If you want a changelog, you will need a website of any sort that shows your latest updates. This could be anything from a Twitter Account to a Youtube Channel. Include this link as shown in the picture below.

All of this info has to be inside of a dictionary action. You can include the call to UpdateBot anywhere in your shortcut, but it is recommended that you only call it at the end of your shortcut. I personally only call UpdateBot at the end of my shortcuts. This is only so that there is no chance that the itegrity of your shortcut will be disturbed. This is only a safety precaution.

The ideal way to update your shortcut is shown below. The most ideal way indludes a Get Shortcuts command to get a list of all of the users shortcuts. You should then use an If Contains statement to check if the user has UpdateBot downloaded. If then do not, add an otherwise attribute that links to the download page of UpdateBot.

Make sure to disable Show While Running on the Run Shortcut command to make the whole thing appear seamless.

Shortcut Name: The name of your shortcut (case sensitive)

Shareshortcuts ID: The RoutineHub ID of your shortcut (discussed above)

Release Notes: The ChangeLog of your shortcut (discussed above)(optional)

Current Version: The Current Version of your shortcut


Releasing an Update for Your Shortcut

There are a few things you need to change before you are ready to release an update to your shortcut. These steps must be used to avoid Update Loops in which the user will always get the update message even though they have the latest version of your shortcut.

Self Hostsed Webserver

  1. Change the Version in your shortcut to your latest numerical version number
  2. Press the share button and get the iCloud URL
  3. Change your Update file to include your latest numerical version number, and your new iCLoud URL of your shortcut
  4. Add whatever needed to your Release notes file

Using RoutineHub

(This is assuming that you have the shortcut RoutineHub downloaded.

  1. Change the Version in your dictionary to your latest numerical version number
  2. Click the share button
  3. Click on Shortcuts and then RoutinePub
  4. Input prompted information

# Using Shareshortcuts

  1. Change the Version in the dictionary to the latest numerical version number
  2. Click the Share button
  3. Click Copy iCloud Link
  4. Upload a new version of the shortcut to Shareshortcuts

Example Shortcut

Here is an example shortcut that will show you exactly how the call for UpdateBot should be set up in your shortcut!


iOS 13 Usage

Using UpdateBot in iOS 13 is very similar, with just a few changes. Make sure you read everything above this as this explanation adds on to what was learned above. Here is the ideal usage for UpdateBot in iOS 13. Download the shortcut and use it as a template for your shortcuts!

Banners

Let your users know that you use UpdateBot!

Simple Text

This Shortcut supports UpdateBot

This Shortcut supports [UpdateBot](https://routinehub.co/shortcut/2555)

This Shortcut requires UpdateBot

This Shortcut requires [JustUpdate](https://routinehub.co/shortcut/2555)

Classic Banner

  <html>
<a href="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/06B20495-FED4-47D2-98C2-70B80C192716.png"><img src="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/06B20495-FED4-47D2-98C2-70B80C192716.png"></a>
  </html>
  
<html>
<a href="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/447DDA47-2EEA-4C66-B51B-1FC8A79D0C2C.png"><img src="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/447DDA47-2EEA-4C66-B51B-1FC8A79D0C2C.png"></a>
  </html>
  
<html>
<a href="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/CD4BF6FB-934A-4FC3-98FC-B34BB4B3FFC3.png"><img src="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/CD4BF6FB-934A-4FC3-98FC-B34BB4B3FFC3.png"></a>
  </html>
  <html>
<a href="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/2FC6C316-524F-4097-BE2D-C39C97801B18.png"><img src="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/2FC6C316-524F-4097-BE2D-C39C97801B18.png"></a>
  </html>

Download Badges

(Sorry for the spaces, it came up weird like that)

  <html>
<a href="https://routinehub.co/shortcut/2555"><img src="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/65FFEA14-AD8D-4055-93D4-C0F37AB83CEE.png"></a>
  </html>
  <html>
<a href="https://routinehub.co/shortcut/2555"><img src="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/7840C148-12B3-4499-8C93-9C3EC8C9A71A.png"></a>
  </html>
  <html>
<a href="https://routinehub.co/shortcut/2555"><img src="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/B1E1869B-CADF-4DE8-ACA0-1F841DA1CEA8.png"></a>
  </html>
<a href="https://routinehub.co/shortcut/2555"><img src="https://raw.githubusercontent.com/SadFarm1/UpdateBot/master/014F8C48-710D-4673-9DD6-0AFD2E894F43.png
  "></a>
  </html>