pub async fn cmd() -> Result<()>Expand description
Executes the application update process.
Performs a complete update workflow including version check, platform detection, download, extraction, and safe replacement of the current executable.
§Returns
Returns Ok(()) on successful update or if no update is needed.
Returns an error if the update process fails.