Squirrel / Squirrel.Windows

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

Information on DownloadReleases behavior #1813

Closed UnnecessaryPunctuation closed 2 years ago

UnnecessaryPunctuation commented 2 years ago

Use case:

We will check for update.If there are update available. We will display the realease note. But for that we need to download the releases. User can still choose to postpone the update.

Question: . Does DownloadReleases(updateInfo.ReleasesToApply) download the package every time, regardless if it's already on the disk?

anaisbetts commented 2 years ago

You don't need to download the release to check to see if an update is available, use the CheckForUpdate method. As to the release notes, to be honest I recommend just putting the notes in a separate file to download vs using Squirrel's release note feature, for exactly the reason you describe