Skip to main content

prune_when_healthy

Function prune_when_healthy 

Source
pub fn prune_when_healthy(
    exe_dir: PathBuf,
    runtime_dir: PathBuf,
    running: &'static str,
    data_dir: Option<PathBuf>,
)
Expand description

Prune the install’s runtime\ and remove the installer of the upgrade, once this launcher has been up for HEALTHY_AFTER, on its own thread. The runtime files are only an install made by setup.exe; the installer is removed wherever the version layout is the real one.