The Last release of WyBuild was doing this without any problem.
We haven't changed any of the update creation behavior. I think you're misunderstanding how wyBuild works.
Let's say you have 2 versions: 1.0 and 1.1. Let's also say your app is 4 gb large, but only 3 things have changed between 1.0 and 1.1:
- You added a new file that wasn't in 1.0, let's call it "New file.txt"
- You modified another file that was in 1.0, let's call it "Changed file.txt"
- And you removed 1 file from 1.1, let's call it "Obsolete file.txt"
Lastly, let's say you have 3 files that are completely unchanged from 1.10 to 1.1. Let's call these files "A", "B", and "C".How do you add this to wyBuild?
Add every file from version 1.0 of your app to wyBuild. That is, in the version 1.0 tab in wyBuild you should have the following files listed:
- Changed file.txt
- Obsolete file.txt
And in the version 1.1 tab in wyBuild you should have the following files listed:
- New file.txt
- Changed file.txt
i cannot afford users download around 4 gb data each time they will try to update the software
Don't worry. When you click "Build Updates" in wyBuild it scans every single file and generates the smallest possible patch. Files that are unchanged are not included in the update. For files that only have minor changes, wyBuild generates tiny patches to get from the old version to the new version.
In the example the following things will happen when you click "Build Updates":
- the A, B, and C files will be scanned and then ignored by wyBuild (because there are no changes).
- The "Obsolete file.txt" isn't in version 1.1, so that file will be marked for deletion (when the end-user installs the update).
- The "New file.txt" doesn't exist in 1.0 but does exist in "1.1" so that file will be added.
- Lastly, the "Changed file.txt" exists in both versions so wyBuild will scan the file for differences. In this example we've already said this file is different. So when wyBuild encounters a file that has changed, it will create the smallest possible patch to get from the "1.0" version of the file to the "1.1" version of the file.
The short answer: wyBuild does the hard work. Just add *all* your files to every version and let wyBuild generate the patch for you.