This is just a quick post to help someone out on Twitter, and the blog seemed the best place to post it.
If you make Mac apps, you probably use Sparkle to manage your auto-update process, outside the Mac App Store anyway. And so you should, it’s awesome, and makes keeping software up to date much easier. But what about the download link on your website for new users? Wouldn’t it be nice not to have to manually update that every time?
For SourceTree, I use a PHP script which just parses my Sparkle appcast and reads the latest release from there, generating a download link automatically. So whenever I update the Sparkle appcast (and I have scripts to do this from XCode, which I may share in a subsequent post if there’s interest), the download link for new users is always up to date immediately.
The full code is after the jump if you want it. As usual, feel free to use this for whatever you want, but there are no warranties for anything whatsoever; don’t blame me if it doesn’t work, or dissolves your website into a pool of steaming alien slime.
Watching the ebbs and flows of the game industry is simultaneously inspiring and outright depressing. As is usual for this stage in a console generation, we’re at the ‘consolidation point’ (pun unintentional) - where the tech is pretty well understood, even if it is starting to look a bit dated compared to even a modest PC (how much hassle AA is on this console generation is a case in point), but that at least developers can crank out content in a more efficient fashion.