From 123032ea0706fd5515cb5aa671aa2259e0aeb5ec Mon Sep 17 00:00:00 2001 From: skylartaylor Date: Thu, 22 Oct 2026 15:59:32 +0200 Subject: [PATCH] style: wrap portable update signatures and documentation --- crates/native/src/portable.rs | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/crates/native/src/portable.rs b/crates/native/src/portable.rs index 04ca2322..58de17bd 100644 --- a/crates/native/src/portable.rs +++ b/crates/native/src/portable.rs @@ -307,10 +307,17 @@ 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, and again before the backup is removed. The archive must include `executable`. -/// When every file sits in one top-level folder, that folder's contents are the program. A copy that fails puts the previous files back. When one of them can't be put back, +/// When every file sits in one top-level folder, that folder's contents are the 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-