[Sparkle] internet-enable

Andy Matuschak andy at andymatuschak.org
Mon Nov 26 11:33:43 PST 2007


Yeah, the DMG code has always been pretty spotty. The folks from  
CocoaTech sent me a patch recently that improves it quite a lot; I'll  
be committing it soon-ish.

- Andy Matuschak

On Nov 25, 2007, at 7:21 PM, Rob Napier wrote:

> I'm newly using Sparkle, and have had a lot of trouble getting a DMG  
> image to work. Looking at the code, it seems to use the internet- 
> enable option to make the DMG act more like a
> tar. When I follow the code in the debugger, or run hdiutil by hand,  
> it is not actually extracting the image in place. I checked with  
> 'hdiutil internet-enable -query' and it definitely is turned on, but  
> it doesn't seem to do anything special when you run 'hdiutil  
> attach'. Is this known to work in 10.4.11?
>
> As a side note, hdiutil does not return an error code if it fails to  
> turn on internet-enable, such as if the DMG is read/write. It just  
> prints a message. Sparkle should check for this, verify that  
> internet-enable was turned on, or attack the problem another way. My  
> preference would be to use mountroot rather than internet-enable  
> (which seems a very quirky option in my opinion). If there's no  
> objection to that kind of change, I'm willing to write the code.
>
> -Rob
> _______________________________________________
> Sparkle mailing list
> Sparkle at lists.andymatuschak.org
> http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org



More information about the Sparkle mailing list