[Sparkle] updates in progress

Andy Matuschak andy at andymatuschak.org
Fri Mar 7 00:53:06 PST 2008


Hi there, Micah. Unfortunately, there's no mechanism in Sparkle  
currently which would allow you to determine whether an update is in  
progress. You can, however, just add an accessor to SUUpdater for  
updateInProgress, and it'll do what you went.

I actually went and did this for you and almost committed, but then I  
realized that I'm working on  a new delegate interface to SUUpdater  
that'll actually do this properly (i.e. by sending updaterDidBegin/ 
updaterFoundUpdate/updaterWillInstall etc); if you can hold off until  
I get that figured out, I think it'll do what you want.

- Andy Matuschak

On Mar 4, 2008, at 9:36 AM, Micah Walter wrote:

> Hi,
> Im sort of new to Sparkle. I have it installed and working in one of
> my apps, but the app I am using has a NSTimer which displays a dialog
> when there is no activity... I am wondering if there is something I
> can check to see if Sparkle is performing an update to stop this
> behavior from taking place. I saw that there is something to alert
> when its ready to relaunch and install, but I need something that
> alerts whenever it finds a new update and alerts the user...
>
> -micah
> _______________________________________________
> Sparkle mailing list
> Sparkle at lists.andymatuschak.org
> http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andymatuschak.org/pipermail/sparkle-andymatuschak.org/attachments/20080307/c9c940c6/attachment.htm 


More information about the Sparkle mailing list