Skip to main content

RESUME_FLAG

Constant RESUME_FLAG 

Source
pub const RESUME_FLAG: &str = "--update-resume-internal";
Expand description

The command-line flag the library uses to relaunch the consuming binary between update phases.

A consuming main() must detect this flag (before any other argument parsing), pass the JSON value that follows it to UpdateManager::resume_from_arg, and exit immediately if it returns Ok(true) — so that the next phase’s process can take ownership of the binary.