Advanced
Setup your Custom Server
Hosting a shortcut on your own server can be a bit tricky if you're not familiar with the matter, if you're looking for an easier route consider checking out RoutineHub or ShareShortcuts.
The setup is as easy as host a JSON file on your server, this file should contain the keys listed below and be updated with each release (make sure to setup CORS).
Alternatively you can setup a GET API endpoint that returns a JSON in the same format.
Key | Type | Required | Description |
---|---|---|---|
Version | Text | Yes | The recent version of the shortcut, this value must be updated with each release as the value determines whether a new version is available or not. |
URL | Text | Yes | The iCloud URL address to the latest version of the shortcut. This will be the link that Swing Updater will open when the user selects Update/Rollback. |
System | Text | Yes | The minimum system version required to run the shortcut without issues. |
Release Date | Text | Yes | The release date of the current version released. |
ChangeLog | Text | Yes | The release notes for the most recent version, use \n to split changes into multiple lines. |