Skip to main content

remove_installer

Function remove_installer 

Source
fn remove_installer(version_dir: &Path, running: &str, exe_dir: &Path) -> u64
Expand description

Remove the installer file that upgraded to running from version_dir’s data/updates/<running>/, never the whole folder: before the download layout was fixed, an upgrade unpacked the new app inside that folder, so the running install can live there. Returns the bytes removed.