CactusSparkle

Sparkle Template for Cactus

Stars
6

Cactus Sparkle Site

Use Cactus for your Sparkle updates. This is a Cactus template to automatically version, package and sign your mac desktop application builds with Sparkle, generate an appcast.xml file, and keep an upload archive.

Preparing your site

  • Deploy at least once so cactus knows about the url
  • Add te public key to your application

Preparing your app

  • Add Sparkle
  • Add build.py <build/Release/YourApp.app> as a step in your build script
  • Run cactus upload in this folder to upload
  • Set the SUPublicDSAKeyFile to yout key name
  • Set the SUFeedURL to http:///appcast.xml

Example

Versioning

Based on git describe --tags. Make sure you have at least one commit tagged with the format 1.0.0.

Mac App Store

If you want this to live side by side with an app store version do the following:

  • Create a new build target named App Store
  • Enable all app store code signing
  • Set up a different Prefix file for each target to add macro variables
  • Conditionally remove the sparkle libs and menu item
  • Give the app store version a different app identifier

Todo

  • Halt on uncomitted changes in build.py
  • Make latest.html that redirects to latest download