From dfc7de00c93adb45c154ce4b4e68dc324ac9e305 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Wed, 21 Oct 2026 12:51:47 -0700 Subject: [PATCH] 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-