diff --git a/crates/native/src/portable.rs b/crates/native/src/portable.rs index 5bdf89ca..ba6c1a31 100644 --- a/crates/native/src/portable.rs +++ b/crates/native/src/portable.rs @@ -307,25 +307,81 @@ pub fn remove(app: &CraftApp, record: &Record) -> Result<(), String> { /// Unpacks the launcher's own portable zip into `staging`, with the same checks as an app's, and /// copies it over `folder` for a self-update. `check` must accept every unpacked file before /// any is copied. When every file sits in one top-level folder, that folder's contents are the -/// program. +/// program. A copy that fails puts the previous files back. When one of them can't be put back, +/// the previous files move to a `-recovery-