[Sparkle] sparkle update interval bug and fix

Julian Mayer julianmayer at mac.com
Sun Mar 25 16:06:29 PST 2007


hello all
i've found a bug in sparkle 1.1 and trunk.

the bug:
in my application i'm just using the "update interval" and not the  
"update at start" method (since it could be quite long running).
to completely disable update checking i'm setting the  
SUScheduledCheckInterval user defaults key to zero and also call  
scheduleCheckWithInterval:0.
however upon the next start sparkle still does an update check  
because it falls back to reading the Info.plist key for  
SUScheduledCheckInterval if i've set the userdefaults key for it to  
zero.

the fix:
removing "if (interval > 0)" from "storedCheckInterval" fixes this  
problem.
(line 210 here: http://sparkle.andymatuschak.org/browser/SUUpdater.m)

btw. what's up with the website, the database is locked and most  
things don't work...?

i'd also really appreciate it if someone could have a look at this:
http://sparkle.andymatuschak.org/ticket/17

thanks, julian



More information about the Sparkle mailing list