[Sparkle] Sparkle Integration Questions - Customized Applications
Dean Shavit
acn-lists-dean at macworkshops.com
Sun Jan 27 10:08:29 PST 2008
On Jan 22, 2008, at 2:28 AM, Andy Matuschak wrote:
>> 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.
Thanks, I should have read the docs more carefully
>
>> 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?
Well, I was able to test preserving the application name, and was
getting ready to test preserving a custom icon, but now every time I
check for updates, I get the dialog:
Update Error!
An Update is Already in Progress.
I've logged out, rebooted, same message.
Any guidance would be much appreciated.
>
> - Andy Matuschak
> _______________________________________________
> Sparkle mailing list
> Sparkle at lists.andymatuschak.org
> http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org
More information about the Sparkle
mailing list