Skip to main content

start_upgrade

Function start_upgrade 

Source
pub fn start_upgrade(version: String, askers: Vec<String>)
Expand description

Download version if it isn’t yet, then restart once every agent has finished its turn (the restart is already decided, so the launcher asks nothing more). Only while version is still the latest release: the download and restart take the latest, so a newer one appearing meanwhile stops the flow. The agents in askers (their panes) are told if it stops short, and why.