Skip to main content

extract_from_binary

Function extract_from_binary 

Source
pub fn extract_from_binary(
    exe_path: &Path,
    cache_dir: &Path,
    footer: &PackFooter,
    debug: bool,
) -> Result<()>
Expand description

Extract assets from a packed binary to the cache directory.

Supports both sidecar mode (assets_offset == 0) and embedded mode. This is used by the stub executable.