pub fn update_main_program(settings: &Settings) -> Result<()>Expand description
Download the latest release for the configured update channel and replace the running install with it. Opens the changelog at the end.
Errors if the network request fails, no asset is available for the current architecture, or the in-place file replace fails.