mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-13 22:12:12 +00:00
* update: read whether the copy installs itself on the check's thread When a check found a release, Updater::tick opened the startup prompt, and StartupPrompt::new read the installed program, share, doc and icon trees to decide whether to offer Update and Restart. On slow or stalled storage that froze the frame loop. The check's thread now makes that inspection after the release is found and sends its answer with the release. The prompt is built with the new StartupPrompt::with_self_update, so tick reads no installed file. A prompt that a failed installation reopens keeps the answer of the prompt that started it. StartupPrompt::new and Updater::offer still inspect on the calling thread. --------- Co-authored-by: dotCooCoo <RobertLeeLW@gmail.com>