mirror of
https://github.com/sparkle-project/sparkle-project.github.io.git
synced 2025-11-01 15:35:08 +00:00
Add improving delta update tips (#37)
* Add improving delta update tips * Reword and tailor delta tips for Sparkle's usage
This commit is contained in:
@@ -51,3 +51,10 @@ Then you sign each `.delta` and add an entry to your appcast's `<item>` for each
|
||||
</item>
|
||||
|
||||
If the user is running a version of the app for which you haven't provided a `.delta`, or if the patch doesn't apply cleanly, they'll use the non-delta "full" update.
|
||||
|
||||
### Tips for Improving Download Size & Performance
|
||||
|
||||
We recommend reading Apple's article on [reducing the download size for iOS app updates](https://developer.apple.com/library/content/qa/qa1779/_index.html), which is applicable here too. To reword:
|
||||
|
||||
* Do not make unnecessary modifications to files. Compare the contents of the prior and new versions of your app and verify that you've only changed what you expect within your app bundle. Running `BinaryDelta --verbose` will show a diff of what has changed.
|
||||
* Content that you expect to change in an update should be stored in separate files from content that you don't expect to change. This reduces the size of the delta update and increases its install speed.
|
||||
|
||||
Reference in New Issue
Block a user