Integration
RoutineHub Integration
For shortcuts hosted in RoutineHub, all the required info is automatically obtained for you.
By adding the required keys to the dictionary action inside your shortcut, Swing Updater is now able to check for updates for you!
| Key | Type | Required | Description |
|---|---|---|---|
| Name | Text | Yes | The name of the shortcut to be used in notifications and the update prompt. |
| Version | Text | Yes | The current version of the shortcut. |
| RH ID | Number | Yes | The RoutineHub ID of the shortcut, you can find it by clicking the RoutinePub button on the shortcut's RoutineHub page. |
| Message | Boolean | No | Must be true if you want your users to get an alert informing if there's no updates available for your shortcut. |
| Icons | Dictionary | No | A dictionary containing the icons to be used on the update prompt. Check Personalization for more info. |
| Timeout | Number | No | The amount (in minutes) between consecutive updates. This should improve your shortcut speed as this prevents multiple update checks in a short time span. |
| Channel | Text | No | The name of the channel to check for updates from. This key works alongside the Catalog key. |
| Catalog | Dictionary | No | The list of available update channels that can be selected using the Channel key. Check Pre-release Updates for more info. |
| Return | Any | No | When any value is assigned to this key, Swing Updater will check for updates and return the information to your shortcut with no prompts shown to the user. |