Multiple copies of sparkle in framework

Asked by padmavyuha

In the MacOS Sparkle.framework, there appear to be 3 exact copies of the framework in three separate folders (A and Current as well as the main one). Is there some reason why it's not possible to have just one copy, with aliases for the rest, at least for the Sparkle exec itself? I'm interested in reducing app download size where the app and support files only run to 250Kb, and the rest (2.9MB) is the Sparkle framework.

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
padmavyuha
Solved:
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

Those aren't copies; they're symlinks. The actual data is only stored once.

Revision history for this message
padmavyuha (padmavyuha) said :
#2

That's what I would have expected - but in the example I'm looking at (Isolator.app from willmore.eu) the items all show as having file sizes, and not as being symlinks - and the total file size adds up that way. Am I misunderstanding something here? I thought symlinks have a 0Kb or at most a 4Kb size.

See http://www.yoxi.net/aragh/sparkle.jpg for a screenshot of the folder listing.

Revision history for this message
Andy Matuschak (andymatuschak) said :
#3

buhwha! That's crazy! It must have accidentally been run through some kind of symlink resolver. If you download Sparkle.framework from sparkle.andymatuschak.org, you'll definitely find those files appropriately symlinked.

Revision history for this message
padmavyuha (padmavyuha) said :
#4

Thanks! I'll 'alert' the developer :)