Files
OrcaSlicer/packaging
Lam Wei Lun e6035ca8ed Fix the updater's update flows and the records they exchange
A failed check wiped a candidate whose artifact was already verified, a
prefetch that could not start left the user with no way to skip, and
refusing an install closed the notification and the poll, so the update
disappeared until the next start. Keep the candidate on a failed check,
offer the dialog for a flavour that installs from the browser, and let a
refused install leave the notification and the poll in place.

The prefetch and the install helper shared one handoff file, so either
could consume or delete the other's job; the pending record was shared
between installs. Key both per install and per job, and leave the log to
accumulate across runs instead of truncating it at every start.

The helper held the install lock while it started the new build, whose
own startup could not then settle the records. Release it before the
launch. A launch that failed after a good install no longer rolls the
install back or deletes its record, a cancel before the swap reports a
cancel rather than a failure, and closing the completed helper window no
longer frees the widgets under the queued completion.

Cap the download at the size the release announces, so a redirected body
cannot fill the disk before the digest check.

A stale digest from a downgraded build hid every newer release; trust it
only while the release is not newer, except on Nightly, whose version is
its release timestamp. A JSON integer above INT64_MAX no longer throws.

Check the fresh-install rename instead of the resulting folder, which an
existing executable satisfies; pass the signing shell and script as
separate defines so a path with spaces survives; fall back to the
CMakeCache pin when the signing stamp is compared without the ORCA_
variables set.
2026-11-22 15:07:39 +08:00
..