mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-11 13:02:25 +00:00
The Windows helper of a finished installation started only when show_if returned Action::Close. An app that exited another way (the window's close button, a quit while unsaved work held the close back, an OS shutdown) dropped it, so the update never installed and the download stayed in the cache. Dropping the Updater now starts a helper that is still waiting, once, including one from an installation that finished after the last tick. Updater::start_pending_update does the same for an app that ends the process in on_exit without dropping the Updater; Action::Close's doc comment names it.