Files
craft-launcher/crates
dotCooCoo dfc7de00c9 fix(windows): a portable self-update that fails part way puts the old files back
unpack_over copied the new files over the launcher's folder one at a
time, so a copy that failed part way (a locked file, a full disk) left new
and old files mixed, and the helper then started that mix. It now saves
each file it replaces under the staging folder and, when a copy fails,
removes the files the update added and copies the saved ones back before
it returns the error.

When a saved file can't be copied back, the saved files move to a
launcher-update-recovery-<time> folder in the cache, which later updates
leave alone, and the error names it. If that move fails, they stay in the
staging folder, and the next update refuses to run until they are moved.
2026-10-21 12:51:47 -07:00
..