fix: github private repo differential updates
Following the issues discussed in #6184
🦋 Changeset detected
Latest commit: 34624b4893d2a9401e4639c3c61a14715cb69398
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| electron-updater | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
If anyone wants to try and help figure out the checksum issue; I would appreciate it!
I haven't been able to figure out anything that solves it.
I have developed a better delta update mechanism based on binary diffing for the NSIS target. It's being deployed in production with thousands of users and running smoothly.
The delta update mechanism based on the blockmap approach uses a very good amount of bandwidth. The binary diffing approach works better and downloads only the diff, generally less than 1MB to update the app.
@sandeep1995 would you be willing to contribute that logic to electron-builder? Or share the logic via gist or sample electron-quick-start repo?
I don't understand why the private repo SHA512 can't match. Maybe there is a problem with the latest file and blockmap file in the process of building
@NGrey5 Were you able to figure out the solution for private GitHub repos?
@Supriy-codeBreaker I haven't made any further progress on this due to the checksum mismatch error. I'm awaiting someone with a little more knowledge of this to possibly help out.
As I mentioned earlier here https://github.com/electron-userland/electron-builder/pull/6198#issuecomment-952963668
If you guys are looking for a true delta builder and updater, please checkout https://github.com/electron-delta/electron-delta and https://electrondelta.com/
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.