Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

2.7.1-pre

Pre-release
Pre-release
Compare
Choose a tag to compare
@caesay caesay released this 28 Dec 18:34
· 688 commits to develop since this release

See what's new

You can now bootstrap net5/6, either x64, x86, or both. You can also bootstrap vcredist - and this code is now in the Squirrel library, so can be done in your app via the C# API instead of only at install time. If looking to update your app from the full framework to net6, and want Squirrel to install net6 before your update, this is now possible.

Additionally, the Setup.exe binary has been completely re-written from scratch. The logic there was a bit convoluted to start with, and the logging / error messages was sub-optimal. As it stands in this release, Setup.exe is now just a tiny launcher that extracts Update.exe to a temporary file and runs it. Update.exe is the executable that now that does all the heavy lifting: will install any required frameworks, run the splash screen, etc. This also means download or install progress can be shown in the splash window, and it's the reason why bootstrapping new runtimes can be done in an installed app.

Breaking Changes:

  • Removed dependency on System.Drawing and Mono.Cecil from Squirrel.
  • Reading SquirrelAwareVersion from assembly attribute is no longer supported.
  • Releasify build will fail by default if there are no SquirrelAware app's in the supplied package to avoid people accidentally shipping an app that is not aware. This can be bypassed with a new command line argument.

Non-Breaking Improvements

  • Better size estimate for installed apps in "Add or Remove Programs" page. (see 517aaed)
  • App icon can be supplied in command line instead of being specified in the iconUrl attribute of nuspec.
  • Setup.exe has been re-written, it's functionality has been entirely moved into Update.exe which is available to your installed app on the command line or via the C# API.
  • Splash window now shows progress while downloading runtimes and is properly adaptive to per-multi-monitor-dpi setups. Splash screen also supports images with built-in dpi, so if you embed an image with a dpi of >192, it will remain sharp at all resolutions, and get downscaled on lower dpi's (instead of upscaled on everything > 96)
  • A log retention policy to ensure that log files never grow larger than 2mb if apps are checking for updates often. (see 2299ecd)
  • Uses a different temporary directory (SquirrelClowdTemp) to the regular Squirrel (SquirrelTemp) (see d06238f)
  • Add TLS1.3 to ServicePointManager (see d53c4da)
  • Fix for installs that share app directory prefixes (see Squirrel#1719 and edf346e)