Can I use Sparkle to monitor multiple Appcasts inside a single application?

Asked by leafmuncher

I am working on an application that uses multiple themes, stored in ~/Library/Application Support/<app>. I would like Sparkle to be able to track updates to the application itself as well as the themes. How might I go about doing that?

Question information

Language:
English Edit question
Status:
Answered
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

If the themes are bundles, it won't be that bad.

You can ask SUUpdater for updaterForBundle: for each theme, then tell it to update as usual.

The only other trick is that you don't want the host app to relaucn then. You can use the shouldPostponeRelaunch delegate method to postpone the relaunch indefinitely. That's a little hacky, though. You might want to make an update driver subclass to avoid relaunching without a hack.

Can you help with this problem?

Provide an answer of your own, or ask leafmuncher for more information if necessary.

To post a message you must log in.