Sparkle icon indicating copy to clipboard operation
Sparkle copied to clipboard

Delegate method for errors

Open andymatuschak opened this issue 14 years ago • 3 comments

**Koingo Software (main-koingosw)* reported (on Launchpad) on' 2008-11-07:*

Josh Hague said: Throw a sparkleError(int errCode,str errMsg) event whenever a sparkle update fails (maybe web access is off, etc.) so the developers have the ability to perform code in this event.

Andy Said: Good call. There should be a delegate method for errors. Please file a bug for this at http://bugs.launchpad.net/sparkle.

andymatuschak avatar Oct 23 '11 17:10 andymatuschak

**Hofman (cmhofman)* wrote on 2008-11-07:*

But definitely do not throw!

andymatuschak avatar Oct 23 '11 17:10 andymatuschak

**Andy Matuschak (andymatuschak)* wrote on 2009-01-05:*

Yeah, I won't throw. But this isn't for 1.5

andymatuschak avatar Oct 23 '11 17:10 andymatuschak

Was there ever anything done with this? Are you interested in patches?

I need to force my app to check for updates on startup, and not to do anything else until the question of whether to update is resolved. That is, if no update is found, if the user declines the update, or if Sparkle errors out trying to update, I want to know about any of those conditions and proceed. Otherwise, I want to wait until Sparkle finishes checking for / deciding whether to install updates.

Seems the existing delegate methods go partway toward this, but an error delegate method would be nice.

duboisj avatar Jan 10 '13 21:01 duboisj