Skip to main content

update_program

Function update_program 

Source
pub fn update_program(central: &Path, program: Program) -> Result<()>
Expand description

program’s update: runs the installer for the apps installed where this program is, into the same folder, unless an agent is working. On Windows it prints the PowerShell command instead, since a running program’s file can’t be replaced there. Installed with cargo install, it says how cargo updates it instead.