The value of the appcast
stanza is a string, holding the URL for an appcast which provides information on future updates.
key | value |
---|---|
checkpoint: |
a string holding a custom checksum of the most recent appcast which matches the current Cask versioning. Use `curl --compressed --location "{{appcast_url}}" |
Example: atom
There are a few different ways the appcast
can be determined:
-
If the app is distributed via GitHub releases, the
appcast
will be of the formhttps://github.com/{{user}}/{{project}}/releases.atom
. (Example Cask:electron
) -
The popular update framework Sparkle generally uses the
SUFeedURL
property inContents/Info.plist
inside.app
bundles. You can use the scriptfind_sparkle_appcast
to add this automatically. (Example Cask:glyphs
) -
An appcast can be any URL hosted by the app’s developer that changes every time a new release is out (e.g. a changelog HTML page). (Example Cask:
shortcat
)