[Sparkle] internet-enable

Rob Napier rnapier at employees.org
Sun Nov 25 19:21:53 PST 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andymatuschak.org/pipermail/sparkle-andymatuschak.org/attachments/20071125/e18c8689/attachment.htm 


More information about the Sparkle mailing list