Skip to main content

clean_bundled_files

Function clean_bundled_files 

Source
pub fn clean_bundled_files(install_dir: &Path) -> Result<()>
Expand description

Deletes Cadmus-owned bundled files from an install directory before OTA reboot.

Files listed in the generated BUNDLED_ASSET_FILES manifest are removed individually so user-added files in shared asset directories remain intact. The libs/ directory is cleaned separately because all shipped shared libraries are Cadmus-owned.