Squirrel / Squirrel.Windows

An installation and update framework for Windows desktop apps
MIT License
7.37k stars 1.03k forks source link

failed to apply delta update #832

Open wangxiexe opened 8 years ago

wangxiexe commented 8 years ago

I am creating an app based on electron and it use Squirrel.Windows

I see some errors in SquirrelSetup.log

2016-09-20 23:32:41> UpdateInfo: Couldn't get release notes for:MiCloudPC-0.0.273-delta.nupkg: System.Exception: Invalid 'ReleaseNotes' value in nuspec file at 'C:\Users\wangxi\AppData\Local\MiCloudPC\packages\MiCloudPC-0.0.273-delta.nupkg' 在 Squirrel.ReleaseEntry.GetReleaseNotes(String packageDirectory) 在 Squirrel.UpdateInfo.b__19_0(ReleaseEntry x)

。。。。。。。。。。。。。。。。

2016-09-20 23:32:41> DeltaPackageBuilder: Adding new file: lib\net45\resources\app.asar 2016-09-20 23:32:41> DeltaPackageBuilder: Applying BSDiff to lib\net45\resources\app.asar.bsdiff 2016-09-20 23:32:41> Program: Failed to apply updates, falling back to full updates: System.IO.EndOfStreamException: BZip2 input stream end of compressed stream

but I can actually extract the xxxxx-delta.nupkg

wangxiexe commented 8 years ago

I also note this error in atom editor's SquirrelSetup.log

2016-09-09 00:36:59> DeltaPackageBuilder: Applying BSDiff to lib\net45\resources\app.asar.bsdiff 2016-09-09 00:37:02> Program: Failed to apply updates, falling back to full updates: System.IO.EndOfStreamException: BZip2 input stream end of compressed stream 在 ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.FillBuffer()

Thieum commented 5 years ago

@wangxiexe Is it an issue you are still experiencing with the latest version of Squirrel? The compression component has been changed, so this issue could be resolved now.