[Sparkle] Sparkle Integration Questions - Customized Applications

Andy Matuschak andy at andymatuschak.org
Tue Jan 22 00:28:26 PST 2008


> 1) is there some sort of "pre-update" action that can be scripted to
> move certain plists or pictures from inside the app bundle prior to
> the update to /tmp then back into the app bundle after the update
> with a similar "post-update" action?

Sparkle posts SUUpdaterWillRestartNotification when it's done so that  
you can do something before it restarts; you could do what you're  
trying to do in such a listener method.

> 2) are there Cocoa notifications that can be sent from the framework
> to my app to trigger pre and post-update events?

That's the only one right now, but I really should add more.

>
> 3) has anyone has any success appcasting a .pkg file with pre and
> postflight scripts?
>
> 4) is there a way to preserve the application name and a custom icon
> during the update process?

They should be preserved as is... what's happening in your case?

- Andy Matuschak


More information about the Sparkle mailing list